Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001086/0.001086, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.001013/0.001012, allocations: 95.69 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3442/0.3442, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 47.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1121, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4111/0.5232, allocations: 185.1 MB / 0.6564 GB, free: 8.703 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.5251, allocations: 0.9281 MB / 0.6573 GB, free: 7.773 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.5254, allocations: 7.938 kB / 0.6573 GB, free: 7.766 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000581/0.526, allocations: 171 kB / 0.6575 GB, free: 7.598 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.5264, allocations: 274.6 kB / 0.6577 GB, free: 7.328 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004978/0.5314, allocations: 1.838 MB / 0.6595 GB, free: 5.496 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.5326, allocations: 1.303 MB / 0.6608 GB, free: 4.191 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.533, allocations: 284.1 kB / 0.6611 GB, free: 3.914 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.5362, allocations: 1.57 MB / 0.6626 GB, free: 2.344 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.5366, allocations: 330.8 kB / 0.6629 GB, free: 2.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.5367, allocations: 20 kB / 0.6629 GB, free: 2 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.5412, allocations: 2.991 MB / 0.6659 GB, free: 15 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.5415, allocations: 175.5 kB / 0.666 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.5418, allocations: 242.8 kB / 0.6663 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002974/0.5447, allocations: 2.143 MB / 0.6684 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5448, allocations: 3.938 kB / 0.6684 GB, free: 12.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5448, allocations: 0 / 0.6684 GB, free: 12.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.5448, allocations: 0 / 0.6684 GB, free: 12.44 MB / 490.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.00163/0.5464, allocations: 1.067 MB / 0.6694 GB, free: 11.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5465, allocations: 12.03 kB / 0.6694 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.5467, allocations: 59.42 kB / 0.6695 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004579/0.5472, allocations: 365.9 kB / 0.6698 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.5472, allocations: 33 kB / 0.6698 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.5473, allocations: 36 kB / 0.6699 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.548, allocations: 0.518 MB / 0.6704 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5481, allocations: 3.938 kB / 0.6704 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.5481, allocations: 23.94 kB / 0.6704 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.5481, allocations: 8 kB / 0.6704 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.5489, allocations: 499.3 kB / 0.6709 GB, free: 9.711 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.5513, allocations: 1.98 MB / 0.6728 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006392/0.5519, allocations: 458.1 kB / 0.6733 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.5522, allocations: 186.5 kB / 0.6734 GB, free: 6.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.5529, allocations: 0.9494 MB / 0.6744 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.553, allocations: 38.56 kB / 0.6744 GB, free: 5.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.553, allocations: 0 / 0.6744 GB, free: 5.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.001032/0.554, allocations: 0.4919 MB / 0.6749 GB, free: 5.215 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.5541, allocations: 106.8 kB / 0.675 GB, free: 5.086 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.5545, allocations: 405.6 kB / 0.6754 GB, free: 4.684 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.5545, allocations: 37.64 kB / 0.6754 GB, free: 4.641 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5546, allocations: 208.2 kB / 0.6756 GB, free: 4.434 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.5547, allocations: 106.5 kB / 0.6757 GB, free: 4.328 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5548, allocations: 81.97 kB / 0.6758 GB, free: 4.242 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5549, allocations: 346.8 kB / 0.6761 GB, free: 3.895 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.5552, allocations: 156.6 kB / 0.6763 GB, free: 3.742 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.5556, allocations: 258 kB / 0.6765 GB, free: 3.445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.5562, allocations: 493 kB / 0.677 GB, free: 2.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5562, allocations: 0 / 0.677 GB, free: 2.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008887/0.5571, allocations: 0.5548 MB / 0.6775 GB, free: 2.332 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.5572, allocations: 59.41 kB / 0.6776 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5572, allocations: 4 kB / 0.6776 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5572, allocations: 4 kB / 0.6776 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.5576, allocations: 88.25 kB / 0.6777 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5576, allocations: 15.94 kB / 0.6777 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.5579, allocations: 55.42 kB / 0.6777 GB, free: 2.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.558, allocations: 16 kB / 0.6778 GB, free: 2.082 MB / 490.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.5582, allocations: 193.6 kB / 0.6779 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5583, allocations: 43.53 kB / 0.678 GB, free: 1.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/0.5592, allocations: 493.7 kB / 0.6785 GB, free: 1.348 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5592, allocations: 4 kB / 0.6785 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5592, allocations: 240 / 0.6785 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5592, allocations: 3.984 kB / 0.6785 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.5618, allocations: 2.441 MB / 0.6809 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5618, allocations: 0 / 0.6809 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.5621, allocations: 64.09 kB / 0.6809 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.5621, allocations: 11.94 kB / 0.6809 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.5621, allocations: 11.94 kB / 0.6809 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.5622, allocations: 7.938 kB / 0.6809 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5622, allocations: 0 / 0.6809 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.5635, allocations: 1.43 MB / 0.6823 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5636, allocations: 132.5 kB / 0.6825 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.5637, allocations: 11.91 kB / 0.6825 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.5641, allocations: 19.98 kB / 0.6825 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.5641, allocations: 31.84 kB / 0.6825 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.5642, allocations: 27.98 kB / 0.6826 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003368/0.5645, allocations: 359.1 kB / 0.6829 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5645, allocations: 4 kB / 0.6829 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001093/0.5656, allocations: 391.6 kB / 0.6833 GB, free: 11.98 MB / 0.4948 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.001187/0.5668, allocations: 0.5651 MB / 0.6838 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007079/0.5675, allocations: 471 kB / 0.6843 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5676, allocations: 0 / 0.6843 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.5678, allocations: 167.8 kB / 0.6844 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.5692, allocations: 263.4 kB / 0.6847 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5705, allocations: 1.147 MB / 0.6858 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.5709, allocations: 0.8471 MB / 0.6866 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004023/0.5713, allocations: 112.8 kB / 0.6867 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5714, allocations: 51.44 kB / 0.6868 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of SimCode: time 2.9e-07/0.5714, allocations: 0 / 0.6868 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.21/0.7814, allocations: 15.75 MB / 0.7022 GB, free: 168.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches