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.001203/0.001208, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001102/0.001102, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.43/1.43, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2165/0.2165, allocations: 44.19 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.67 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1224, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4248/0.5473, allocations: 181.3 MB / 0.636 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.5495, allocations: 0.8969 MB / 0.6368 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.5499, allocations: 11.94 kB / 0.6369 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.5507, allocations: 206.7 kB / 0.6371 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006811/0.5515, allocations: 278.3 kB / 0.6373 GB, free: 9.883 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.5567, allocations: 1.907 MB / 0.6392 GB, free: 7.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.5581, allocations: 0.971 MB / 0.6401 GB, free: 7.004 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000621/0.5587, allocations: 337.8 kB / 0.6404 GB, free: 6.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.5627, allocations: 1.534 MB / 0.6419 GB, free: 5.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000709/0.5635, allocations: 318.8 kB / 0.6423 GB, free: 4.828 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.5636, allocations: 48 kB / 0.6423 GB, free: 4.781 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005444/0.5691, allocations: 2.687 MB / 0.6449 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.5695, allocations: 191.5 kB / 0.6451 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.5699, allocations: 270.8 kB / 0.6454 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005206/0.5752, allocations: 2.011 MB / 0.6473 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5752, allocations: 4 kB / 0.6473 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5752, allocations: 0 / 0.6473 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.609e-05/0.5753, allocations: 0 / 0.6473 GB, free: 15.62 MB / 494.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.002942/0.5782, allocations: 1.036 MB / 0.6483 GB, free: 14.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.5783, allocations: 16.03 kB / 0.6484 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.5787, allocations: 59.42 kB / 0.6484 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.5794, allocations: 358 kB / 0.6488 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.5794, allocations: 29 kB / 0.6488 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.5795, allocations: 39.94 kB / 0.6488 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5806, allocations: 0.524 MB / 0.6493 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5807, allocations: 0 / 0.6493 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.5807, allocations: 23.94 kB / 0.6494 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.5807, allocations: 8 kB / 0.6494 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009527/0.5817, allocations: 495.6 kB / 0.6498 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.5846, allocations: 1.986 MB / 0.6518 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007567/0.5854, allocations: 460.6 kB / 0.6522 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.5858, allocations: 174.5 kB / 0.6524 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/0.5866, allocations: 0.9494 MB / 0.6533 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.5867, allocations: 38.56 kB / 0.6533 GB, free: 8.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.5867, allocations: 0 / 0.6533 GB, free: 8.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001143/0.5878, allocations: 0.4958 MB / 0.6538 GB, free: 8.414 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.5879, allocations: 110.8 kB / 0.6539 GB, free: 8.281 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.5884, allocations: 401.5 kB / 0.6543 GB, free: 7.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.5884, allocations: 37.69 kB / 0.6544 GB, free: 7.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.5886, allocations: 216.1 kB / 0.6546 GB, free: 7.621 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.248e-05/0.5887, allocations: 106.5 kB / 0.6547 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.5888, allocations: 78.06 kB / 0.6547 GB, free: 7.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.589, allocations: 346.8 kB / 0.6551 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.5893, allocations: 152.7 kB / 0.6552 GB, free: 6.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.5897, allocations: 254 kB / 0.6555 GB, free: 6.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.5905, allocations: 491.6 kB / 0.6559 GB, free: 6.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.5905, allocations: 8 kB / 0.6559 GB, free: 6.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001156/0.5917, allocations: 0.5434 MB / 0.6565 GB, free: 5.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.5917, allocations: 59.41 kB / 0.6565 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5917, allocations: 5.641 kB / 0.6565 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.5918, allocations: 4 kB / 0.6565 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.5922, allocations: 83.89 kB / 0.6566 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.5922, allocations: 7.938 kB / 0.6566 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.5927, allocations: 59.42 kB / 0.6567 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/0.5927, allocations: 15.98 kB / 0.6567 GB, free: 5.297 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.0003031/0.5931, allocations: 193.7 kB / 0.6569 GB, free: 5.098 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.5932, allocations: 43.53 kB / 0.6569 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.5944, allocations: 486.2 kB / 0.6574 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.5944, allocations: 4 kB / 0.6574 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5944, allocations: 48 / 0.6574 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5944, allocations: 3.984 kB / 0.6574 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.5979, allocations: 2.433 MB / 0.6598 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5979, allocations: 0 / 0.6598 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.5982, allocations: 63.91 kB / 0.6598 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.5982, allocations: 7.938 kB / 0.6598 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.5983, allocations: 11.94 kB / 0.6598 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.5983, allocations: 7.984 kB / 0.6598 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5983, allocations: 3.938 kB / 0.6599 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.5992, allocations: 0.628 MB / 0.6605 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.5993, allocations: 140.4 kB / 0.6606 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.5994, allocations: 19.97 kB / 0.6606 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.5999, allocations: 19.97 kB / 0.6606 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.6, allocations: 23.97 kB / 0.6607 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-05/0.6001, allocations: 23.98 kB / 0.6607 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004065/0.6005, allocations: 355.1 kB / 0.661 GB, free: 452 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6005, allocations: 0 / 0.661 GB, free: 452 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.001192/0.6017, allocations: 347.7 kB / 0.6614 GB, free: 104 kB / 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.001531/0.6032, allocations: 0.4918 MB / 0.6618 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009583/0.6042, allocations: 482.4 kB / 0.6623 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.6042, allocations: 8 kB / 0.6623 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.6046, allocations: 159.7 kB / 0.6625 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.6061, allocations: 294 kB / 0.6627 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.6076, allocations: 0.8442 MB / 0.6636 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.6081, allocations: 0.8351 MB / 0.6644 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.6083, allocations: 47.42 kB / 0.6644 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.6083, allocations: 0 / 0.6644 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.01908/0.6273, allocations: 11.34 MB / 0.6755 GB, free: 1.617 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