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.001383/0.001384, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001518/0.001518, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.379/1.379, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1959/0.1959, allocations: 44.18 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3587, allocations: 60.83 MB / 0.5196 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2093/0.5681, allocations: 181.3 MB / 0.6966 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.5704, allocations: 0.8969 MB / 0.6975 GB, free: 5.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.571, allocations: 11.94 kB / 0.6975 GB, free: 5.156 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000978/0.572, allocations: 206.7 kB / 0.6977 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009267/0.5729, allocations: 278.3 kB / 0.698 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006859/0.5798, allocations: 1.912 MB / 0.6998 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.5814, allocations: 0.9749 MB / 0.7008 GB, free: 1.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007278/0.5821, allocations: 337 kB / 0.7011 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.5864, allocations: 1.53 MB / 0.7026 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.5871, allocations: 322.8 kB / 0.7029 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.5873, allocations: 48 kB / 0.703 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006274/0.5935, allocations: 2.738 MB / 0.7056 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.594, allocations: 187.5 kB / 0.7058 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.5947, allocations: 266.9 kB / 0.7061 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005863/0.6006, allocations: 2.027 MB / 0.708 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.6006, allocations: 0 / 0.708 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6006, allocations: 0 / 0.708 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.033e-05/0.6006, allocations: 0 / 0.708 GB, free: 10.34 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.002651/0.6033, allocations: 1.04 MB / 0.7091 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6034, allocations: 12.03 kB / 0.7091 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.6037, allocations: 55.44 kB / 0.7091 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.6044, allocations: 385.9 kB / 0.7095 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.6045, allocations: 32.94 kB / 0.7095 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.6045, allocations: 36 kB / 0.7096 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6056, allocations: 0.512 MB / 0.7101 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6056, allocations: 4 kB / 0.7101 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.6057, allocations: 20 kB / 0.7101 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.6057, allocations: 8 kB / 0.7101 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.6066, allocations: 0.4954 MB / 0.7106 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.6095, allocations: 1.97 MB / 0.7125 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.6102, allocations: 456.7 kB / 0.7129 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.6106, allocations: 182.5 kB / 0.7131 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000935/0.6116, allocations: 0.9415 MB / 0.714 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.6116, allocations: 46.5 kB / 0.7141 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 3.797e-06/0.6116, allocations: 3.984 kB / 0.7141 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.00117/0.6128, allocations: 0.493 MB / 0.7145 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.6129, allocations: 106.8 kB / 0.7147 GB, free: 3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.6134, allocations: 401.6 kB / 0.715 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.6135, allocations: 33.7 kB / 0.7151 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.6137, allocations: 220.2 kB / 0.7153 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.6138, allocations: 102.6 kB / 0.7154 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.6139, allocations: 78.06 kB / 0.7154 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6141, allocations: 350.7 kB / 0.7158 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.6144, allocations: 156.6 kB / 0.7159 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.6148, allocations: 254 kB / 0.7162 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.6156, allocations: 491.7 kB / 0.7166 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.6156, allocations: 4 kB / 0.7166 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00101/0.6166, allocations: 0.5473 MB / 0.7172 GB, free: 256 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.596e-05/0.6167, allocations: 59.41 kB / 0.7172 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.6167, allocations: 4 kB / 0.7172 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.6167, allocations: 4 kB / 0.7172 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.6171, allocations: 91.77 kB / 0.7173 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.6172, allocations: 7.984 kB / 0.7173 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.6175, allocations: 55.5 kB / 0.7174 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.6176, allocations: 19.98 kB / 0.7174 GB, free: 0 / 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.2569/0.8745, allocations: 186.7 kB / 0.7176 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.8748, allocations: 40.77 kB / 0.7176 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.876, allocations: 484.5 kB / 0.7181 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.8761, allocations: 4.516 kB / 0.7181 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.8761, allocations: 2.219 kB / 0.7181 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.8761, allocations: 2.016 kB / 0.7181 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002893/0.879, allocations: 2.443 MB / 0.7205 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.879, allocations: 5.156 kB / 0.7205 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.8793, allocations: 59.02 kB / 0.7205 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.8793, allocations: 4.375 kB / 0.7206 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.8794, allocations: 8.703 kB / 0.7206 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/0.8794, allocations: 4.734 kB / 0.7206 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.8794, allocations: 3.781 kB / 0.7206 GB, free: 188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.8801, allocations: 0.6478 MB / 0.7212 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.8803, allocations: 122.6 kB / 0.7213 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.8803, allocations: 11.8 kB / 0.7213 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.8808, allocations: 20.41 kB / 0.7213 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.8809, allocations: 31.38 kB / 0.7214 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.8809, allocations: 19.31 kB / 0.7214 GB, free: 187.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004423/0.8814, allocations: 367.2 kB / 0.7217 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8814, allocations: 0 / 0.7217 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001267/0.8827, allocations: 341.5 kB / 0.7221 GB, free: 187.2 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.001231/0.8839, allocations: 0.4921 MB / 0.7226 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008774/0.8848, allocations: 474.7 kB / 0.723 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8848, allocations: 1.438 kB / 0.723 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.8851, allocations: 160.6 kB / 0.7232 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.8866, allocations: 279.8 kB / 0.7234 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.8878, allocations: 0.8305 MB / 0.7242 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8882, allocations: 0.8329 MB / 0.7251 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.8884, allocations: 50.05 kB / 0.7251 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.8884, allocations: 1.375 kB / 0.7251 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.0188/0.9072, allocations: 11.4 MB / 0.7362 GB, free: 180.2 MB / 0.5606 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