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.001035/0.001035, allocations: 103.5 kB / 16.99 MB, free: 5.938 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.001021/0.001021, allocations: 181.5 kB / 17.87 MB, free: 5.594 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.409/1.409, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.242/0.242, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 61.92 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.476/0.6491, allocations: 148.7 MB / 0.6056 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.652, allocations: 1.843 MB / 0.6074 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.6522, allocations: 11.94 kB / 0.6074 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.6528, allocations: 155.2 kB / 0.6075 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004394/0.6532, allocations: 227.3 kB / 0.6078 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.6572, allocations: 1.394 MB / 0.6091 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007747/0.658, allocations: 0.5434 MB / 0.6096 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003974/0.6584, allocations: 254.6 kB / 0.6099 GB, free: 8.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.6612, allocations: 1.236 MB / 0.6111 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.6615, allocations: 223.2 kB / 0.6113 GB, free: 7.273 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.6616, allocations: 24 kB / 0.6113 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004492/0.6661, allocations: 2.337 MB / 0.6136 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.6663, allocations: 163.5 kB / 0.6138 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.6665, allocations: 113.5 kB / 0.6139 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.6689, allocations: 1.264 MB / 0.6151 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6689, allocations: 0 / 0.6151 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6689, allocations: 0 / 0.6151 GB, free: 3.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.6689, allocations: 0 / 0.6151 GB, free: 3.371 MB / 446.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.001915/0.6709, allocations: 0.9429 MB / 0.616 GB, free: 2.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6709, allocations: 8.031 kB / 0.616 GB, free: 2.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.6712, allocations: 63.42 kB / 0.6161 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.6718, allocations: 354.1 kB / 0.6164 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.6719, allocations: 32.94 kB / 0.6165 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.6719, allocations: 36 kB / 0.6165 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.6728, allocations: 0.5196 MB / 0.617 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.6728, allocations: 3.938 kB / 0.617 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.6729, allocations: 23.98 kB / 0.617 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6729, allocations: 15.94 kB / 0.6171 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/0.6738, allocations: 0.4892 MB / 0.6175 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.6764, allocations: 1.978 MB / 0.6195 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.6771, allocations: 460.8 kB / 0.6199 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/0.678, allocations: 0.9532 MB / 0.6208 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.678, allocations: 38.56 kB / 0.6209 GB, free: 12.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 2.185e-06/0.678, allocations: 0 / 0.6209 GB, free: 12.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.001069/0.6791, allocations: 0.5119 MB / 0.6214 GB, free: 12.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.6792, allocations: 106.8 kB / 0.6215 GB, free: 12.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.6796, allocations: 393.6 kB / 0.6218 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.6797, allocations: 37.7 kB / 0.6219 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.6798, allocations: 216.1 kB / 0.6221 GB, free: 11.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.6799, allocations: 106.5 kB / 0.6222 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.68, allocations: 8 kB / 0.6222 GB, free: 11.54 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.6801, allocations: 354.8 kB / 0.6225 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.6805, allocations: 148.7 kB / 0.6227 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.6809, allocations: 258.3 kB / 0.6229 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.6813, allocations: 251 kB / 0.6232 GB, free: 10.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6813, allocations: 0 / 0.6232 GB, free: 10.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009398/0.6822, allocations: 0.5587 MB / 0.6237 GB, free: 9.906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.422e-05/0.6823, allocations: 67.36 kB / 0.6238 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6823, allocations: 4 kB / 0.6238 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6823, allocations: 8 kB / 0.6238 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.6827, allocations: 83.83 kB / 0.6239 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.6828, allocations: 12.27 kB / 0.6239 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.6831, allocations: 67.42 kB / 0.6239 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.6832, allocations: 20 kB / 0.624 GB, free: 9.637 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.6835, allocations: 177.7 kB / 0.6241 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6836, allocations: 43.53 kB / 0.6242 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.6846, allocations: 0.4984 MB / 0.6247 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6846, allocations: 4 kB / 0.6247 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.6846, allocations: 4 kB / 0.6247 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6846, allocations: 3.984 kB / 0.6247 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.6876, allocations: 2.437 MB / 0.6271 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6876, allocations: 0 / 0.6271 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.6879, allocations: 63.91 kB / 0.6271 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.6879, allocations: 4 kB / 0.6271 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.6879, allocations: 12.06 kB / 0.6271 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.6879, allocations: 7.984 kB / 0.6271 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.688, allocations: 8.188 kB / 0.6271 GB, free: 6.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.6889, allocations: 0.7312 MB / 0.6279 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6891, allocations: 148.4 kB / 0.628 GB, free: 5.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.6891, allocations: 8 kB / 0.628 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.6896, allocations: 27.98 kB / 0.628 GB, free: 5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.6896, allocations: 31.86 kB / 0.6281 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.6897, allocations: 19.98 kB / 0.6281 GB, free: 4.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003849/0.6901, allocations: 363 kB / 0.6284 GB, free: 4.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6901, allocations: 3.938 kB / 0.6284 GB, free: 4.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001133/0.6912, allocations: 339.6 kB / 0.6288 GB, free: 4.258 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.6923, allocations: 485.4 kB / 0.6292 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008498/0.6932, allocations: 479 kB / 0.6297 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6932, allocations: 0 / 0.6297 GB, free: 3.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.6935, allocations: 171.9 kB / 0.6298 GB, free: 3.129 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.6947, allocations: 245.4 kB / 0.6301 GB, free: 2.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.6962, allocations: 0.9247 MB / 0.631 GB, free: 1.922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.6967, allocations: 0.851 MB / 0.6318 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004522/0.6971, allocations: 112.2 kB / 0.6319 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6972, allocations: 51.42 kB / 0.632 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.6972, allocations: 4 kB / 0.632 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of Templates: time 0.02244/0.7197, allocations: 13.78 MB / 0.6454 GB, free: 3.238 MB / 478.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches