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.0009601/0.0009601, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009905/0.0009905, allocations: 166.5 kB / 24.82 MB, free: 9.266 MB / 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.9165/0.9165, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2745/0.2745, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.292e-06/1.292e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/1.986e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3598/0.3598, allocations: 146.1 MB / 0.5123 GB, free: 17.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3621, allocations: 0.8828 MB / 0.5131 GB, free: 16.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.3625, allocations: 14.5 kB / 0.5131 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.3631, allocations: 112.9 kB / 0.5133 GB, free: 16.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.3639, allocations: 304.6 kB / 0.5135 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.3676, allocations: 1.32 MB / 0.5148 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.3689, allocations: 0.9622 MB / 0.5158 GB, free: 15.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006206/0.3696, allocations: 307.9 kB / 0.5161 GB, free: 15.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.3711, allocations: 0.7 MB / 0.5167 GB, free: 15.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004779/0.3716, allocations: 297.3 kB / 0.517 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.077e-05/0.3716, allocations: 46.09 kB / 0.5171 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.3747, allocations: 1.375 MB / 0.5184 GB, free: 14.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.375, allocations: 215.2 kB / 0.5186 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3752, allocations: 195.8 kB / 0.5188 GB, free: 14.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0032/0.3784, allocations: 1.402 MB / 0.5202 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.3785, allocations: 1.922 kB / 0.5202 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3785, allocations: 0 / 0.5202 GB, free: 13.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.3785, allocations: 0 / 0.5202 GB, free: 13.89 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.001526/0.38, allocations: 1.001 MB / 0.5212 GB, free: 13.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.38, allocations: 13.06 kB / 0.5212 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002664/0.3803, allocations: 102 kB / 0.5213 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.3807, allocations: 320.2 kB / 0.5216 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.3807, allocations: 33.34 kB / 0.5216 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3808, allocations: 42.59 kB / 0.5216 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004558/0.3812, allocations: 0.6157 MB / 0.5222 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3813, allocations: 0 / 0.5222 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.3813, allocations: 17.41 kB / 0.5223 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3813, allocations: 8.344 kB / 0.5223 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.3816, allocations: 200.4 kB / 0.5225 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.383, allocations: 1.74 MB / 0.5242 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.3833, allocations: 209.5 kB / 0.5244 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.3834, allocations: 82.34 kB / 0.5244 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002369/0.3836, allocations: 84.11 kB / 0.5245 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3837, allocations: 50.59 kB / 0.5246 GB, free: 10.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.873e-06/0.3837, allocations: 3.984 kB / 0.5246 GB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004274/0.3841, allocations: 246.4 kB / 0.5248 GB, free: 10.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3841, allocations: 108.1 kB / 0.5249 GB, free: 10.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3843, allocations: 323.7 kB / 0.5252 GB, free: 10.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.3843, allocations: 32.48 kB / 0.5253 GB, free: 10.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3844, allocations: 286.5 kB / 0.5255 GB, free: 9.945 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.3845, allocations: 111.2 kB / 0.5256 GB, free: 9.855 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.1e-05/0.3846, allocations: 81.8 kB / 0.5257 GB, free: 9.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.3846, allocations: 0.5238 MB / 0.5262 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.3847, allocations: 99.77 kB / 0.5263 GB, free: 9.227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3849, allocations: 255 kB / 0.5266 GB, free: 8.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.3851, allocations: 330.1 kB / 0.5269 GB, free: 8.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3851, allocations: 3 kB / 0.5269 GB, free: 8.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003926/0.3855, allocations: 411.7 kB / 0.5273 GB, free: 8.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.3855, allocations: 65.73 kB / 0.5273 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3855, allocations: 2.344 kB / 0.5273 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3856, allocations: 8.156 kB / 0.5273 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3858, allocations: 80.77 kB / 0.5274 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3858, allocations: 5.031 kB / 0.5274 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3859, allocations: 44.19 kB / 0.5275 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.386, allocations: 19.98 kB / 0.5275 GB, free: 8.332 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.0001178/0.3861, allocations: 180.6 kB / 0.5277 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.3862, allocations: 45.44 kB / 0.5277 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.3866, allocations: 328.5 kB / 0.528 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3866, allocations: 5.578 kB / 0.528 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3866, allocations: 0 / 0.528 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3866, allocations: 8.234 kB / 0.528 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3878, allocations: 1.109 MB / 0.5291 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3878, allocations: 3.219 kB / 0.5291 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.388, allocations: 62.17 kB / 0.5292 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.388, allocations: 2 kB / 0.5292 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.388, allocations: 13.59 kB / 0.5292 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.388, allocations: 5.438 kB / 0.5292 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.388, allocations: 4.906 kB / 0.5292 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.3883, allocations: 0.6397 MB / 0.5298 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.3884, allocations: 33.19 kB / 0.5299 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3884, allocations: 13.84 kB / 0.5299 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3886, allocations: 20.67 kB / 0.5299 GB, free: 6.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.3887, allocations: 30.53 kB / 0.5299 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.3887, allocations: 13.67 kB / 0.5299 GB, free: 6.582 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.3888, allocations: 244.2 kB / 0.5302 GB, free: 6.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3888, allocations: 0 / 0.5302 GB, free: 6.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009084/0.3897, allocations: 279.8 kB / 0.5304 GB, free: 6.371 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.0007499/0.3905, allocations: 394.9 kB / 0.5308 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.3909, allocations: 343.2 kB / 0.5311 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3909, allocations: 3.938 kB / 0.5311 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.391, allocations: 84.55 kB / 0.5312 GB, free: 5.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.3919, allocations: 236.4 kB / 0.5314 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3933, allocations: 0.7373 MB / 0.5322 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.3934, allocations: 129.5 kB / 0.5323 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003519/0.3938, allocations: 75.88 kB / 0.5324 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/0.3943, allocations: 299.1 kB / 0.5326 GB, free: 5.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/0.3943, allocations: 0 / 0.5326 GB, free: 5.18 MB / 410.7 MB Notification: Performance of Templates: time 0.01758/0.4119, allocations: 13.21 MB / 0.5455 GB, free: 13.81 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.8941816561855376]