Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.001295/0.001295, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001641/0.001641, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2445/0.2445, allocations: 46.96 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 75.88 kB / 0.4961 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2022/0.5018, allocations: 160.4 MB / 0.7172 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001953/0.5038, allocations: 0.8813 MB / 0.7181 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.504, allocations: 11.88 kB / 0.7181 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.5047, allocations: 198.7 kB / 0.7183 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005951/0.5052, allocations: 298.3 kB / 0.7186 GB, free: 1.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00525/0.5105, allocations: 1.965 MB / 0.7205 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.5119, allocations: 0.9945 MB / 0.7215 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.5123, allocations: 277.3 kB / 0.7217 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.5158, allocations: 1.593 MB / 0.7233 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.5165, allocations: 338.8 kB / 0.7236 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.5166, allocations: 44 kB / 0.7236 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/0.5216, allocations: 2.371 MB / 0.726 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.522, allocations: 203.5 kB / 0.7261 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.5223, allocations: 227.2 kB / 0.7264 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.5263, allocations: 1.975 MB / 0.7283 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5263, allocations: 0 / 0.7283 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5263, allocations: 0 / 0.7283 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.934e-06/0.5264, allocations: 3.938 kB / 0.7283 GB, free: 7.891 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.001822/0.5282, allocations: 1.001 MB / 0.7293 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5282, allocations: 12.03 kB / 0.7293 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.96e-05/0.5283, allocations: 74.53 kB / 0.7294 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.5286, allocations: 63.66 kB / 0.7294 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.5292, allocations: 331.7 kB / 0.7297 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.5292, allocations: 29 kB / 0.7298 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.5293, allocations: 36 kB / 0.7298 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.5303, allocations: 0.7708 MB / 0.7306 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5304, allocations: 0 / 0.7306 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.5304, allocations: 12 kB / 0.7306 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.5304, allocations: 12 kB / 0.7306 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.5313, allocations: 496.2 kB / 0.731 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.5341, allocations: 1.566 MB / 0.7326 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.5349, allocations: 367.6 kB / 0.7329 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.5352, allocations: 166.5 kB / 0.7331 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004365/0.5357, allocations: 131.8 kB / 0.7332 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.5357, allocations: 42.56 kB / 0.7333 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.5357, allocations: 4 kB / 0.7333 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001161/0.5369, allocations: 493.1 kB / 0.7337 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.5369, allocations: 114.8 kB / 0.7338 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.5374, allocations: 401.5 kB / 0.7342 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.5375, allocations: 41.64 kB / 0.7343 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.5377, allocations: 220.5 kB / 0.7345 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.5378, allocations: 111.2 kB / 0.7346 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5379, allocations: 74.06 kB / 0.7346 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5381, allocations: 358.7 kB / 0.735 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.5384, allocations: 208 kB / 0.7352 GB, free: 472 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.5389, allocations: 309.7 kB / 0.7355 GB, free: 104 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2261/0.7649, allocations: 473.3 kB / 0.7359 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.7649, allocations: 5.641 kB / 0.7359 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001242/0.7662, allocations: 0.6054 MB / 0.7365 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/0.7662, allocations: 60.31 kB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7662, allocations: 4.125 kB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.7663, allocations: 7.594 kB / 0.7366 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004271/0.7667, allocations: 88 kB / 0.7367 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.7667, allocations: 5.531 kB / 0.7367 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.767, allocations: 55.86 kB / 0.7367 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.7671, allocations: 21.97 kB / 0.7368 GB, free: 174.5 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.0002444/0.7674, allocations: 189.2 kB / 0.7369 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.7675, allocations: 43.33 kB / 0.737 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.7686, allocations: 494.6 kB / 0.7375 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.7686, allocations: 3.625 kB / 0.7375 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7686, allocations: 1.062 kB / 0.7375 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.7686, allocations: 6.734 kB / 0.7375 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/0.7709, allocations: 1.253 MB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7709, allocations: 2.344 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.7712, allocations: 58.92 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.7712, allocations: 5.156 kB / 0.7388 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.7712, allocations: 8.656 kB / 0.7388 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.7712, allocations: 4.766 kB / 0.7388 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7712, allocations: 3.969 kB / 0.7388 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.7719, allocations: 0.6442 MB / 0.7394 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.7719, allocations: 51.25 kB / 0.7394 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.772, allocations: 10.56 kB / 0.7395 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.7724, allocations: 22.53 kB / 0.7395 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.7725, allocations: 34.84 kB / 0.7395 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.7725, allocations: 19.42 kB / 0.7395 GB, free: 173 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003251/0.7729, allocations: 363.4 kB / 0.7399 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7729, allocations: 3.375 kB / 0.7399 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009392/0.7738, allocations: 357.6 kB / 0.7402 GB, free: 172.8 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.001682/0.7755, allocations: 1.572 MB / 0.7418 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007816/0.7763, allocations: 0.5032 MB / 0.7422 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7763, allocations: 0 / 0.7422 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.7765, allocations: 153 kB / 0.7424 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.7778, allocations: 297.6 kB / 0.7427 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.7825, allocations: 4.827 MB / 0.7474 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00018/0.7827, allocations: 235.5 kB / 0.7476 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004073/0.7831, allocations: 104.1 kB / 0.7477 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.7833, allocations: 151.4 kB / 0.7479 GB, free: 166 MB / 0.5606 GB Notification: Performance of SimCode: time 1.233e-06/0.7833, allocations: 0 / 0.7479 GB, free: 166 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/0.8267, allocations: 21.65 MB / 0.769 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.25, allocations: 2.5 kB / 0.769 GB, free: 144.7 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance.C from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! Error: Could not read variable traceSubstance1.C in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv. Warning: Get data of variable traceSubstance1.C from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.19368310799473]