Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 112.4 kB / 20.48 MB, free: 1.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002657/0.002657, allocations: 212 kB / 23.77 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 79.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3481, allocations: 66.07 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2053/0.5533, allocations: 160.4 MB / 0.7174 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.5555, allocations: 0.8813 MB / 0.7182 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.5558, allocations: 15.88 kB / 0.7183 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007108/0.5566, allocations: 194.7 kB / 0.7184 GB, free: 1.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006238/0.5572, allocations: 298.3 kB / 0.7187 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.5625, allocations: 1.964 MB / 0.7206 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.5638, allocations: 0.9867 MB / 0.7216 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.5643, allocations: 277.3 kB / 0.7219 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.5677, allocations: 1.593 MB / 0.7234 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.5683, allocations: 326.8 kB / 0.7237 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.539e-05/0.5684, allocations: 44 kB / 0.7238 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004557/0.5729, allocations: 2.296 MB / 0.726 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.5732, allocations: 199.5 kB / 0.7262 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.5735, allocations: 231.1 kB / 0.7264 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.5769, allocations: 1.971 MB / 0.7284 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5769, allocations: 8 kB / 0.7284 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5769, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.5769, allocations: 0 / 0.7284 GB, free: 7.777 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001825/0.5787, allocations: 0.9974 MB / 0.7293 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5788, allocations: 8.031 kB / 0.7293 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.313e-05/0.5789, allocations: 78.47 kB / 0.7294 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.5791, allocations: 63.66 kB / 0.7295 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.5797, allocations: 319.9 kB / 0.7298 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.5797, allocations: 28.94 kB / 0.7298 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.5798, allocations: 43.94 kB / 0.7299 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.5808, allocations: 0.7747 MB / 0.7306 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5808, allocations: 0 / 0.7306 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.5809, allocations: 20 kB / 0.7306 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.5809, allocations: 8 kB / 0.7306 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.5818, allocations: 492.2 kB / 0.7311 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.5843, allocations: 1.566 MB / 0.7326 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.5851, allocations: 363.6 kB / 0.733 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.5854, allocations: 170.5 kB / 0.7331 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/0.5858, allocations: 131.9 kB / 0.7333 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.5859, allocations: 42.5 kB / 0.7333 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.375e-06/0.5859, allocations: 0 / 0.7333 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001169/0.587, allocations: 0.4929 MB / 0.7338 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.5871, allocations: 110.8 kB / 0.7339 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.5876, allocations: 409.5 kB / 0.7343 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.5876, allocations: 29.7 kB / 0.7343 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5878, allocations: 224.5 kB / 0.7345 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.291e-05/0.5879, allocations: 107.2 kB / 0.7346 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.588, allocations: 78 kB / 0.7347 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5882, allocations: 350.8 kB / 0.735 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.5885, allocations: 208 kB / 0.7352 GB, free: 368 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004403/0.589, allocations: 311.9 kB / 0.7355 GB, free: 0 / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3061/0.8951, allocations: 482.6 kB / 0.736 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.8951, allocations: 3.688 kB / 0.736 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00137/0.8965, allocations: 0.6035 MB / 0.7366 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.8965, allocations: 60.88 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.8965, allocations: 4.125 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.8966, allocations: 5.344 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.8971, allocations: 83.67 kB / 0.7367 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.8971, allocations: 11.42 kB / 0.7368 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.8974, allocations: 57.84 kB / 0.7368 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.8975, allocations: 20.14 kB / 0.7368 GB, free: 174.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0002826/0.8978, allocations: 185.8 kB / 0.737 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.898, allocations: 43.78 kB / 0.737 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.8992, allocations: 495.7 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.8992, allocations: 3.969 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8992, allocations: 5.531 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8992, allocations: 6.656 kB / 0.7375 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.9015, allocations: 1.251 MB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.9015, allocations: 1.25 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.9018, allocations: 64.59 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.9018, allocations: 3.75 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.9018, allocations: 12.73 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9018, allocations: 4.609 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9018, allocations: 7.906 kB / 0.7388 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.9025, allocations: 0.6393 MB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.9026, allocations: 47.78 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.9026, allocations: 17.02 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.903, allocations: 16.97 kB / 0.7395 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.9031, allocations: 26.41 kB / 0.7396 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.5e-05/0.9032, allocations: 28.94 kB / 0.7396 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003634/0.9035, allocations: 359.9 kB / 0.7399 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9035, allocations: 0 / 0.7399 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001084/0.9046, allocations: 362.4 kB / 0.7403 GB, free: 172.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 32 * 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.001748/0.9064, allocations: 1.573 MB / 0.7418 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.9071, allocations: 0.5041 MB / 0.7423 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9071, allocations: 0 / 0.7423 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.9074, allocations: 158.1 kB / 0.7425 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.9087, allocations: 284.1 kB / 0.7427 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/0.9134, allocations: 4.829 MB / 0.7475 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.9135, allocations: 232 kB / 0.7477 GB, free: 166 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003948/0.9139, allocations: 117.2 kB / 0.7478 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.9141, allocations: 147.4 kB / 0.7479 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.402e-06/0.9141, allocations: 0 / 0.7479 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.9603, allocations: 21.6 MB / 0.769 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.68, allocations: 7.922 kB / 0.769 GB, free: 144.4 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable traceSubstance.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.884745693998411]