Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 242.4 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2098/0.2098, allocations: 44.17 MB / 336.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.88 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4069/0.5242, allocations: 180 MB / 0.6339 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.5262, allocations: 0.9242 MB / 0.6348 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004446/0.5267, allocations: 11.94 kB / 0.6348 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008147/0.5276, allocations: 175 kB / 0.635 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.5284, allocations: 266.6 kB / 0.6353 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.5335, allocations: 1.659 MB / 0.6369 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.535, allocations: 1.299 MB / 0.6381 GB, free: 8.898 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005483/0.5355, allocations: 269.2 kB / 0.6384 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003642/0.5392, allocations: 1.422 MB / 0.6398 GB, free: 7.207 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.5398, allocations: 334.7 kB / 0.6401 GB, free: 6.879 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.54, allocations: 23.94 kB / 0.6401 GB, free: 6.855 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.5449, allocations: 2.819 MB / 0.6429 GB, free: 4.031 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.5452, allocations: 175.5 kB / 0.643 GB, free: 3.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004409/0.5457, allocations: 242.9 kB / 0.6433 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.5482, allocations: 1.427 MB / 0.6447 GB, free: 2.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5483, allocations: 4 kB / 0.6447 GB, free: 2.188 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5483, allocations: 0 / 0.6447 GB, free: 2.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.5483, allocations: 0 / 0.6447 GB, free: 2.188 MB / 478.1 MB 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.003127/0.5514, allocations: 1.047 MB / 0.6457 GB, free: 1.082 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.5515, allocations: 11.97 kB / 0.6457 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004652/0.552, allocations: 59.42 kB / 0.6458 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/0.5528, allocations: 365.9 kB / 0.6461 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.5528, allocations: 25 kB / 0.6461 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.5529, allocations: 39.94 kB / 0.6462 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.5539, allocations: 0.524 MB / 0.6467 GB, free: 16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.554, allocations: 0 / 0.6467 GB, free: 16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.554, allocations: 19.94 kB / 0.6467 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.5541, allocations: 12 kB / 0.6467 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009235/0.555, allocations: 496.6 kB / 0.6472 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.5579, allocations: 1.978 MB / 0.6491 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.5586, allocations: 460.6 kB / 0.6496 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.559, allocations: 174.5 kB / 0.6497 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008813/0.5599, allocations: 0.9532 MB / 0.6507 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.5599, allocations: 38.56 kB / 0.6507 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.5599, allocations: 4 kB / 0.6507 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001163/0.5611, allocations: 496.7 kB / 0.6512 GB, free: 10.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.5612, allocations: 110.8 kB / 0.6513 GB, free: 10.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.5616, allocations: 401.5 kB / 0.6517 GB, free: 10.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.5617, allocations: 33.7 kB / 0.6517 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.5618, allocations: 224.3 kB / 0.6519 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.5619, allocations: 102.5 kB / 0.652 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.5621, allocations: 82.03 kB / 0.6521 GB, free: 10.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5622, allocations: 354.8 kB / 0.6524 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.5626, allocations: 144.7 kB / 0.6526 GB, free: 9.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.563, allocations: 262 kB / 0.6528 GB, free: 9.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.5637, allocations: 491.8 kB / 0.6533 GB, free: 8.672 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.5638, allocations: 7.938 kB / 0.6533 GB, free: 8.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001053/0.5648, allocations: 0.5539 MB / 0.6538 GB, free: 8.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.5649, allocations: 63.41 kB / 0.6539 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5649, allocations: 4 kB / 0.6539 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5649, allocations: 4 kB / 0.6539 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.5653, allocations: 83.95 kB / 0.654 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.5654, allocations: 11.92 kB / 0.654 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.5658, allocations: 63.58 kB / 0.6541 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.5659, allocations: 20 kB / 0.6541 GB, free: 7.836 MB / 494.1 MB 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.0002476/0.5661, allocations: 182.2 kB / 0.6542 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5663, allocations: 39.53 kB / 0.6543 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.5674, allocations: 494 kB / 0.6548 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.5674, allocations: 4 kB / 0.6548 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5674, allocations: 4 kB / 0.6548 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.5674, allocations: 0 / 0.6548 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/0.5704, allocations: 2.437 MB / 0.6571 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5704, allocations: 4 kB / 0.6571 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.5707, allocations: 63.89 kB / 0.6572 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.5708, allocations: 7.938 kB / 0.6572 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.5708, allocations: 8 kB / 0.6572 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.5708, allocations: 7.938 kB / 0.6572 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5708, allocations: 7.938 kB / 0.6572 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008343/0.5716, allocations: 0.6396 MB / 0.6579 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.5718, allocations: 124.5 kB / 0.658 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.5719, allocations: 15.89 kB / 0.658 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.5724, allocations: 23.92 kB / 0.658 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.5724, allocations: 27.97 kB / 0.658 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.018e-05/0.5725, allocations: 23.98 kB / 0.6581 GB, free: 3.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004097/0.5729, allocations: 359.1 kB / 0.6584 GB, free: 2.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5729, allocations: 0 / 0.6584 GB, free: 2.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001117/0.574, allocations: 335.8 kB / 0.6587 GB, free: 2.648 MB / 494.1 MB 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.001422/0.5755, allocations: 0.5046 MB / 0.6592 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.5763, allocations: 470.3 kB / 0.6597 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5764, allocations: 0 / 0.6597 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.5767, allocations: 168.8 kB / 0.6598 GB, free: 1.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.5782, allocations: 262 kB / 0.6601 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.5797, allocations: 0.9676 MB / 0.661 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.5802, allocations: 0.8354 MB / 0.6618 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.5803, allocations: 47.44 kB / 0.6619 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5803, allocations: 3.938 kB / 0.6619 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.01781/0.5982, allocations: 11.34 MB / 0.673 GB, free: 4.059 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches