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.001323/0.001323, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.00169/0.00169, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.467/1.467, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2207/0.2207, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.001822/0.001822, allocations: 67.91 kB / 0.4909 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1181, allocations: 65.98 MB / 0.5554 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4816/0.5996, allocations: 185.3 MB / 0.7363 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002414/0.6021, allocations: 0.893 MB / 0.7372 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005493/0.6026, allocations: 11.88 kB / 0.7372 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.6037, allocations: 214.7 kB / 0.7374 GB, free: 7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.6046, allocations: 286.3 kB / 0.7377 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.6101, allocations: 1.931 MB / 0.7396 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.6115, allocations: 0.9827 MB / 0.7405 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005122/0.6121, allocations: 299.5 kB / 0.7408 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003782/0.6158, allocations: 1.581 MB / 0.7423 GB, free: 1.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006393/0.6165, allocations: 334.8 kB / 0.7427 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.125e-05/0.6166, allocations: 52 kB / 0.7427 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005006/0.6216, allocations: 2.86 MB / 0.7455 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.6219, allocations: 207.4 kB / 0.7457 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.6222, allocations: 262.9 kB / 0.746 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004023/0.6262, allocations: 2.068 MB / 0.748 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6263, allocations: 0 / 0.748 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6263, allocations: 0 / 0.748 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.6263, allocations: 0 / 0.748 GB, free: 12.14 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.002041/0.6283, allocations: 1.073 MB / 0.749 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6283, allocations: 8.031 kB / 0.749 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.6285, allocations: 82.52 kB / 0.7491 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002737/0.6287, allocations: 59.67 kB / 0.7492 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.6293, allocations: 386.1 kB / 0.7495 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.6293, allocations: 32.94 kB / 0.7496 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.736e-05/0.6294, allocations: 36 kB / 0.7496 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.6304, allocations: 0.5159 MB / 0.7501 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6304, allocations: 3.938 kB / 0.7501 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.6304, allocations: 20 kB / 0.7501 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.6304, allocations: 8 kB / 0.7501 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.6314, allocations: 499.5 kB / 0.7506 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.6342, allocations: 1.976 MB / 0.7525 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.635, allocations: 444.7 kB / 0.753 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.6353, allocations: 166.5 kB / 0.7531 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009253/0.6362, allocations: 0.9572 MB / 0.7541 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6363, allocations: 42.5 kB / 0.7541 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.6363, allocations: 0 / 0.7541 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001281/0.6375, allocations: 0.4932 MB / 0.7546 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.6376, allocations: 106.8 kB / 0.7547 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.6381, allocations: 401.6 kB / 0.7551 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.6382, allocations: 33.7 kB / 0.7551 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.6384, allocations: 220.5 kB / 0.7553 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.6385, allocations: 103.1 kB / 0.7554 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.6386, allocations: 86 kB / 0.7555 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6388, allocations: 354.7 kB / 0.7558 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.6392, allocations: 144.7 kB / 0.756 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.6396, allocations: 269.9 kB / 0.7562 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/0.6404, allocations: 483.7 kB / 0.7567 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6404, allocations: 0 / 0.7567 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001085/0.6414, allocations: 0.5433 MB / 0.7572 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.6415, allocations: 63.39 kB / 0.7573 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6415, allocations: 7.938 kB / 0.7573 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/0.6416, allocations: 8 kB / 0.7573 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.642, allocations: 84.2 kB / 0.7574 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.635e-05/0.642, allocations: 12 kB / 0.7574 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.6424, allocations: 51.61 kB / 0.7574 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.6424, allocations: 23.98 kB / 0.7575 GB, free: 1.695 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.0002495/0.6427, allocations: 187.8 kB / 0.7576 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6428, allocations: 43.77 kB / 0.7577 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.6439, allocations: 479.8 kB / 0.7581 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6439, allocations: 4.234 kB / 0.7581 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6439, allocations: 3.984 kB / 0.7581 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.6439, allocations: 7.984 kB / 0.7581 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.6472, allocations: 2.431 MB / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6472, allocations: 0 / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.6475, allocations: 69.28 kB / 0.7606 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.6475, allocations: 7.938 kB / 0.7606 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.6476, allocations: 8 kB / 0.7606 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6476, allocations: 4 kB / 0.7606 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6476, allocations: 3.984 kB / 0.7606 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.6484, allocations: 0.6363 MB / 0.7612 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.6486, allocations: 132.6 kB / 0.7614 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.6486, allocations: 12 kB / 0.7614 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.6491, allocations: 23.98 kB / 0.7614 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.392e-05/0.6492, allocations: 28.72 kB / 0.7614 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.6492, allocations: 23.98 kB / 0.7614 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004305/0.6496, allocations: 367 kB / 0.7618 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6496, allocations: 0 / 0.7618 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001139/0.6508, allocations: 355 kB / 0.7621 GB, free: 12.49 MB / 0.5762 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.002273/0.653, allocations: 1.592 MB / 0.7637 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008683/0.6539, allocations: 454.4 kB / 0.7641 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6539, allocations: 4 kB / 0.7641 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.6543, allocations: 151.7 kB / 0.7643 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.6558, allocations: 287.3 kB / 0.7645 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/0.6625, allocations: 4.601 MB / 0.769 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.663, allocations: 0.8351 MB / 0.7699 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005155/0.6635, allocations: 124.7 kB / 0.77 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.6638, allocations: 147.3 kB / 0.7701 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.6638, allocations: 0 / 0.7701 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.7126, allocations: 19.81 MB / 0.7895 GB, free: 416 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.069/9.782, allocations: 3.938 kB / 0.7895 GB, free: 412 kB / 0.5919 GB " [Timeout remaining time 650] (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: 12.894050153001444]