Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.91 MB / 355.1 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1238, allocations: 65.42 MB / 0.5517 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003514/0.1273, allocations: 1.951 MB / 0.5536 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.1284, allocations: 0.6037 MB / 0.5542 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.003e-05/0.1284, allocations: 0 / 0.5542 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1286, allocations: 35.7 kB / 0.5543 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1287, allocations: 35.7 kB / 0.5543 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.1289, allocations: 39.95 kB / 0.5543 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1291, allocations: 143.5 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1292, allocations: 68.53 kB / 0.5545 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.1293, allocations: 59.73 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1294, allocations: 67.69 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1295, allocations: 16 kB / 0.5547 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.1295, allocations: 12 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.1295, allocations: 27.92 kB / 0.5547 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.1296, allocations: 71.59 kB / 0.5548 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1298, allocations: 163.3 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1298, allocations: 0 / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1298, allocations: 0 / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1298, allocations: 0 / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007321/0.1306, allocations: 451.1 kB / 0.5554 GB, free: 6.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1306, allocations: 11.97 kB / 0.5554 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.1307, allocations: 50.73 kB / 0.5554 GB, free: 6.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1307, allocations: 16.84 kB / 0.5554 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.131, allocations: 208.1 kB / 0.5556 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.131, allocations: 8.656 kB / 0.5556 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1311, allocations: 20.38 kB / 0.5557 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1314, allocations: 135.9 kB / 0.5558 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1314, allocations: 0 / 0.5558 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.1314, allocations: 8 kB / 0.5558 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1315, allocations: 4 kB / 0.5558 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.1318, allocations: 108.7 kB / 0.5559 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1328, allocations: 0.5952 MB / 0.5565 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1331, allocations: 70.52 kB / 0.5566 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1332, allocations: 32.98 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1332, allocations: 0 / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1332, allocations: 42.56 kB / 0.5566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1332, allocations: 0 / 0.5566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004203/0.1337, allocations: 101.6 kB / 0.5567 GB, free: 4.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1337, allocations: 55.34 kB / 0.5568 GB, free: 4.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1339, allocations: 162.3 kB / 0.5569 GB, free: 4.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.1339, allocations: 25.7 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.134, allocations: 139.8 kB / 0.5571 GB, free: 4.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.134, allocations: 19.83 kB / 0.5571 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1341, allocations: 29.66 kB / 0.5571 GB, free: 4.367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1342, allocations: 318.8 kB / 0.5574 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1343, allocations: 27.97 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1345, allocations: 68.27 kB / 0.5575 GB, free: 3.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.1347, allocations: 92.19 kB / 0.5576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1347, allocations: 0 / 0.5576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000312/0.135, allocations: 125.4 kB / 0.5577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.135, allocations: 4 kB / 0.5577 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.135, allocations: 4 kB / 0.5578 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1351, allocations: 3.938 kB / 0.5578 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1352, allocations: 31.97 kB / 0.5578 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1352, allocations: 4 kB / 0.5578 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1353, allocations: 16.02 kB / 0.5578 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1353, allocations: 7.938 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1354, allocations: 132 kB / 0.5579 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1355, allocations: 7.953 kB / 0.5579 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.1355, allocations: 8.312 kB / 0.558 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1355, allocations: 7.938 kB / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1355, allocations: 256 / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1355, allocations: 0 / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.1358, allocations: 213.6 kB / 0.5582 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1358, allocations: 0 / 0.5582 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1359, allocations: 15.98 kB / 0.5582 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1359, allocations: 0 / 0.5582 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1359, allocations: 0 / 0.5582 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1359, allocations: 7.938 kB / 0.5582 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1359, allocations: 0 / 0.5582 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.1362, allocations: 187.4 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1363, allocations: 89.05 kB / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.1363, allocations: 0 / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1364, allocations: 7.938 kB / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1364, allocations: 11.98 kB / 0.5585 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.1364, allocations: 0 / 0.5585 GB, free: 2.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.728e-05/0.1365, allocations: 110.3 kB / 0.5586 GB, free: 2.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1365, allocations: 0 / 0.5586 GB, free: 2.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1368, allocations: 31.89 kB / 0.5586 GB, free: 2.727 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006143/0.1374, allocations: 0.724 MB / 0.5593 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1377, allocations: 72.02 kB / 0.5594 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1377, allocations: 0 / 0.5594 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1378, allocations: 27.97 kB / 0.5594 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.138, allocations: 8 kB / 0.5594 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1402, allocations: 1.649 MB / 0.561 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.1405, allocations: 0.7041 MB / 0.5617 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.1406, allocations: 12.59 kB / 0.5617 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.1407, allocations: 39.42 kB / 0.5618 GB, free: 15.34 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1407, allocations: 0 / 0.5618 GB, free: 15.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1647, allocations: 2.171 MB / 0.5639 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.15/8.315, allocations: 5.969 kB / 0.5639 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable magneticPotentialDifferenceSensor.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticFluxSensor.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticFluxSensor.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! Error: Could not read variable magneticPotentialDifferenceSensor.V_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv. Warning: Get data of variable magneticPotentialDifferenceSensor.V_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.37793973274529]