Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009017/0.0009017, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009908/0.0009908, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9636/0.9636, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.247/0.247, allocations: 34.25 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.884e-05, allocations: 9.625 kB / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3152/0.3153, allocations: 148.8 MB / 0.5145 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.317, allocations: 0.8747 MB / 0.5154 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002664/0.3173, allocations: 14.38 kB / 0.5154 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.3178, allocations: 121.5 kB / 0.5155 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005475/0.3183, allocations: 300.1 kB / 0.5158 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.3214, allocations: 1.32 MB / 0.5171 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009686/0.3224, allocations: 0.9695 MB / 0.518 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000481/0.3229, allocations: 296.7 kB / 0.5183 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.324, allocations: 0.7155 MB / 0.519 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.3244, allocations: 291.7 kB / 0.5193 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.992e-05/0.3245, allocations: 45.72 kB / 0.5193 GB, free: 13.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.3266, allocations: 1.376 MB / 0.5207 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3268, allocations: 210.7 kB / 0.5209 GB, free: 13.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.327, allocations: 198.1 kB / 0.5211 GB, free: 13.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.3292, allocations: 1.401 MB / 0.5224 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3292, allocations: 0 / 0.5224 GB, free: 12.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3292, allocations: 0 / 0.5224 GB, free: 12.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3292, allocations: 4 kB / 0.5224 GB, free: 12.52 MB / 410.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.001417/0.3306, allocations: 0.9929 MB / 0.5234 GB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.3307, allocations: 8.438 kB / 0.5234 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.331, allocations: 103.5 kB / 0.5235 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.3314, allocations: 334.4 kB / 0.5238 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3314, allocations: 27.31 kB / 0.5239 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.3314, allocations: 40.75 kB / 0.5239 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.332, allocations: 0.6442 MB / 0.5245 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.332, allocations: 9.656 kB / 0.5245 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.332, allocations: 14.69 kB / 0.5246 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.3321, allocations: 8.812 kB / 0.5246 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.3324, allocations: 257.7 kB / 0.5248 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.3338, allocations: 1.732 MB / 0.5265 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.3343, allocations: 242.1 kB / 0.5267 GB, free: 9.371 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3344, allocations: 90.16 kB / 0.5268 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.3346, allocations: 79.98 kB / 0.5269 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3346, allocations: 46.72 kB / 0.5269 GB, free: 9.262 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/0.3346, allocations: 3.938 kB / 0.5269 GB, free: 9.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005067/0.3351, allocations: 287.4 kB / 0.5272 GB, free: 9.156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3352, allocations: 108.7 kB / 0.5273 GB, free: 9.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3354, allocations: 329.3 kB / 0.5276 GB, free: 8.809 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3354, allocations: 32.64 kB / 0.5277 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.3355, allocations: 275.5 kB / 0.5279 GB, free: 8.539 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.3355, allocations: 117 kB / 0.528 GB, free: 8.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.3356, allocations: 80.09 kB / 0.5281 GB, free: 8.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.3357, allocations: 0.5177 MB / 0.5286 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.3358, allocations: 125.9 kB / 0.5287 GB, free: 7.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.336, allocations: 268.1 kB / 0.529 GB, free: 7.547 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.3362, allocations: 361.8 kB / 0.5293 GB, free: 7.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3362, allocations: 6.844 kB / 0.5294 GB, free: 7.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004441/0.3367, allocations: 443.6 kB / 0.5298 GB, free: 6.988 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.3367, allocations: 66.42 kB / 0.5298 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3367, allocations: 7.344 kB / 0.5298 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3367, allocations: 5.969 kB / 0.5299 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.337, allocations: 82.78 kB / 0.5299 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.337, allocations: 5.406 kB / 0.5299 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3371, allocations: 41.89 kB / 0.53 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.3371, allocations: 20.58 kB / 0.53 GB, free: 6.879 MB / 410.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.0001062/0.3373, allocations: 188 kB / 0.5302 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.3373, allocations: 42.69 kB / 0.5302 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.3378, allocations: 350.3 kB / 0.5306 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3378, allocations: 5 kB / 0.5306 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3378, allocations: 3.5 kB / 0.5306 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3378, allocations: 3.984 kB / 0.5306 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.339, allocations: 1.195 MB / 0.5317 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.339, allocations: 10.38 kB / 0.5317 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3392, allocations: 56.72 kB / 0.5318 GB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3392, allocations: 9.781 kB / 0.5318 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3392, allocations: 6.656 kB / 0.5318 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3392, allocations: 5.406 kB / 0.5318 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3392, allocations: 3.438 kB / 0.5318 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.3395, allocations: 0.6605 MB / 0.5325 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.3396, allocations: 41.8 kB / 0.5325 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3396, allocations: 15.19 kB / 0.5325 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.3398, allocations: 19.98 kB / 0.5325 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3399, allocations: 31.09 kB / 0.5326 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3399, allocations: 20.19 kB / 0.5326 GB, free: 5.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.34, allocations: 257.1 kB / 0.5328 GB, free: 4.918 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.34, allocations: 0 / 0.5328 GB, free: 4.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007759/0.3408, allocations: 280.2 kB / 0.5331 GB, free: 4.852 MB / 410.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 (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.0007283/0.3415, allocations: 383.5 kB / 0.5335 GB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004001/0.3419, allocations: 389.4 kB / 0.5338 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3419, allocations: 0 / 0.5338 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.3421, allocations: 103.2 kB / 0.5339 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/0.3428, allocations: 233.4 kB / 0.5342 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3438, allocations: 0.7312 MB / 0.5349 GB, free: 3.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.87e-05/0.3439, allocations: 126.9 kB / 0.535 GB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.3441, allocations: 87.8 kB / 0.5351 GB, free: 3.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.954e-05/0.3442, allocations: 43.36 kB / 0.5351 GB, free: 3.719 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3442, allocations: 3.938 kB / 0.5351 GB, free: 3.715 MB / 410.7 MB Notification: Performance of Templates: time 0.01308/0.3573, allocations: 11.48 MB / 0.5463 GB, free: 13.34 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6663339845836163]