Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001616, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.339/2.339, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2975/0.2975, allocations: 43.54 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004473/0.0004473, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 58.87 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5746/0.6924, allocations: 148.7 MB / 0.6239 GB, free: 5.961 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.007131/0.6996, allocations: 3.302 MB / 0.6271 GB, free: 2.652 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.7001, allocations: 11.94 kB / 0.6272 GB, free: 2.641 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007614/0.7009, allocations: 155.2 kB / 0.6273 GB, free: 2.488 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.7017, allocations: 223.4 kB / 0.6275 GB, free: 2.27 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007197/0.7089, allocations: 1.597 MB / 0.6291 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.7103, allocations: 0.5394 MB / 0.6296 GB, free: 132 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.711, allocations: 261 kB / 0.6298 GB, free: 15.88 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004903/0.716, allocations: 1.232 MB / 0.631 GB, free: 14.64 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006379/0.7166, allocations: 227.2 kB / 0.6313 GB, free: 14.42 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.7168, allocations: 20 kB / 0.6313 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009814/0.7266, allocations: 2.504 MB / 0.6337 GB, free: 11.89 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.7272, allocations: 159.5 kB / 0.6339 GB, free: 11.74 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.7276, allocations: 117.5 kB / 0.634 GB, free: 11.62 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005735/0.7334, allocations: 1.345 MB / 0.6353 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7334, allocations: 0 / 0.6353 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.7335, allocations: 3.938 kB / 0.6353 GB, free: 10.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.7335, allocations: 0 / 0.6353 GB, free: 10.26 MB / 442.7 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.003981/0.7375, allocations: 0.9624 MB / 0.6363 GB, free: 9.238 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.7376, allocations: 8.031 kB / 0.6363 GB, free: 9.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/0.7382, allocations: 59.42 kB / 0.6363 GB, free: 9.172 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.7395, allocations: 358.1 kB / 0.6367 GB, free: 8.785 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.7396, allocations: 29 kB / 0.6367 GB, free: 8.758 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.7398, allocations: 36 kB / 0.6367 GB, free: 8.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.7421, allocations: 0.5198 MB / 0.6372 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.7422, allocations: 0 / 0.6372 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.7423, allocations: 16 kB / 0.6372 GB, free: 8.156 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.7424, allocations: 8 kB / 0.6373 GB, free: 8.148 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.7448, allocations: 0.5073 MB / 0.6377 GB, free: 7.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.7513, allocations: 1.975 MB / 0.6397 GB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.7533, allocations: 460.8 kB / 0.6401 GB, free: 5.027 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.755, allocations: 0.9455 MB / 0.641 GB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.7551, allocations: 42.5 kB / 0.6411 GB, free: 3.828 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 5.08e-06/0.7552, allocations: 0 / 0.6411 GB, free: 3.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.002991/0.7582, allocations: 0.5056 MB / 0.6416 GB, free: 3.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.7583, allocations: 106.8 kB / 0.6417 GB, free: 3.188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.7594, allocations: 405.4 kB / 0.6421 GB, free: 2.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.7596, allocations: 33.7 kB / 0.6421 GB, free: 2.746 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.7599, allocations: 258.6 kB / 0.6423 GB, free: 2.492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.7601, allocations: 110.5 kB / 0.6424 GB, free: 2.383 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.7602, allocations: 8 kB / 0.6425 GB, free: 2.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.7604, allocations: 326.8 kB / 0.6428 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.7613, allocations: 152.6 kB / 0.6429 GB, free: 1.898 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009642/0.7623, allocations: 274.8 kB / 0.6432 GB, free: 1.586 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7634, allocations: 243.3 kB / 0.6434 GB, free: 1.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.7634, allocations: 0 / 0.6434 GB, free: 1.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.002558/0.766, allocations: 0.5325 MB / 0.6439 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.7661, allocations: 66.84 kB / 0.644 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.7662, allocations: 4 kB / 0.644 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/0.7662, allocations: 11.98 kB / 0.644 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7674, allocations: 83.89 kB / 0.6441 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.7674, allocations: 4 kB / 0.6441 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.7685, allocations: 63.67 kB / 0.6441 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.7686, allocations: 35.81 kB / 0.6442 GB, free: 0.5117 MB / 442.7 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.0005496/0.7692, allocations: 181.8 kB / 0.6444 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.7695, allocations: 39.53 kB / 0.6444 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.7722, allocations: 0.4923 MB / 0.6449 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.7723, allocations: 4 kB / 0.6449 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.7723, allocations: 3.984 kB / 0.6449 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.7723, allocations: 0 / 0.6449 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007241/0.7796, allocations: 2.437 MB / 0.6473 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7797, allocations: 0 / 0.6473 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.7805, allocations: 71.89 kB / 0.6473 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.7806, allocations: 0 / 0.6473 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/0.7807, allocations: 15.95 kB / 0.6473 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.561e-05/0.7807, allocations: 4 kB / 0.6473 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.228e-06/0.7807, allocations: 8.156 kB / 0.6474 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.7829, allocations: 0.735 MB / 0.6481 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.7833, allocations: 152.4 kB / 0.6482 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.7835, allocations: 11.94 kB / 0.6482 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7847, allocations: 27.97 kB / 0.6483 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.7849, allocations: 27.97 kB / 0.6483 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.785, allocations: 15.98 kB / 0.6483 GB, free: 11.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009843/0.786, allocations: 363 kB / 0.6486 GB, free: 11.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.7861, allocations: 0 / 0.6486 GB, free: 11.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00263/0.7887, allocations: 375.6 kB / 0.649 GB, free: 11.1 MB / 458.7 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.003307/0.7921, allocations: 0.5642 MB / 0.6496 GB, free: 10.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002202/0.7944, allocations: 486.3 kB / 0.65 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.7944, allocations: 0 / 0.65 GB, free: 10.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009441/0.7954, allocations: 184.8 kB / 0.6502 GB, free: 9.852 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.7989, allocations: 237.5 kB / 0.6504 GB, free: 9.625 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.8022, allocations: 0.9622 MB / 0.6514 GB, free: 8.609 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008307/0.8031, allocations: 0.847 MB / 0.6522 GB, free: 7.738 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.8036, allocations: 51.42 kB / 0.6522 GB, free: 7.688 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8036, allocations: 0 / 0.6522 GB, free: 7.688 MB / 458.7 MB Notification: Performance of Templates: time 0.04458/0.8482, allocations: 12.19 MB / 0.6641 GB, free: 11.52 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches