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/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.002159/0.002159, allocations: 91.55 kB / 20.21 MB, free: 4.203 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.002329/0.002329, allocations: 165.3 kB / 23.52 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2465/0.2465, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.136e-06/3.136e-06, allocations: 0 / 346.9 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.408e-05/4.722e-05, allocations: 2.312 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.6632/0.6633, allocations: 179.5 MB / 0.5141 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.6666, allocations: 0.887 MB / 0.5149 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005034/0.6671, allocations: 15.88 kB / 0.515 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.6682, allocations: 202.6 kB / 0.5151 GB, free: 15.75 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.6696, allocations: 309.9 kB / 0.5154 GB, free: 15.45 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009433/0.679, allocations: 2.211 MB / 0.5176 GB, free: 13.23 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.6813, allocations: 0.9825 MB / 0.5186 GB, free: 12.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007413/0.6821, allocations: 305.4 kB / 0.5188 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/0.6884, allocations: 1.853 MB / 0.5207 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000859/0.6892, allocations: 295.2 kB / 0.5209 GB, free: 9.797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.6894, allocations: 48 kB / 0.521 GB, free: 9.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007983/0.6973, allocations: 2.46 MB / 0.5234 GB, free: 7.285 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004897/0.6978, allocations: 215.5 kB / 0.5236 GB, free: 7.074 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.6984, allocations: 195.6 kB / 0.5238 GB, free: 6.883 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008446/0.7068, allocations: 2.318 MB / 0.526 GB, free: 4.559 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.7068, allocations: 0 / 0.526 GB, free: 4.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7068, allocations: 0 / 0.526 GB, free: 4.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.7069, allocations: 0 / 0.526 GB, free: 4.559 MB / 394.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.002985/0.7098, allocations: 1.14 MB / 0.5272 GB, free: 3.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.7099, allocations: 12.03 kB / 0.5272 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004827/0.7104, allocations: 95.53 kB / 0.5273 GB, free: 3.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.7112, allocations: 331.2 kB / 0.5276 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.7112, allocations: 25 kB / 0.5276 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.7113, allocations: 40 kB / 0.5276 GB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.7126, allocations: 0.7196 MB / 0.5283 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.7126, allocations: 0 / 0.5283 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.7127, allocations: 19.94 kB / 0.5284 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.7127, allocations: 16 kB / 0.5284 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/0.7135, allocations: 371.6 kB / 0.5287 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.7174, allocations: 1.861 MB / 0.5305 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.7182, allocations: 313.1 kB / 0.5308 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.7185, allocations: 139 kB / 0.531 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.7191, allocations: 135.9 kB / 0.5311 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/0.7192, allocations: 45.39 kB / 0.5312 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.7192, allocations: 0 / 0.5312 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.001197/0.7204, allocations: 389.2 kB / 0.5315 GB, free: 14.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7205, allocations: 110.8 kB / 0.5316 GB, free: 14.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.721, allocations: 382.4 kB / 0.532 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.7211, allocations: 33.7 kB / 0.532 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.7214, allocations: 295 kB / 0.5323 GB, free: 13.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.7215, allocations: 115 kB / 0.5324 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.7217, allocations: 95.67 kB / 0.5325 GB, free: 13.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004/0.7221, allocations: 0.5352 MB / 0.533 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.7225, allocations: 156.1 kB / 0.5332 GB, free: 12.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.723, allocations: 326.8 kB / 0.5335 GB, free: 12.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.7238, allocations: 449.6 kB / 0.5339 GB, free: 11.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.7238, allocations: 8 kB / 0.5339 GB, free: 11.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00109/0.7249, allocations: 0.5155 MB / 0.5344 GB, free: 11.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.012e-05/0.725, allocations: 65.73 kB / 0.5345 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.725, allocations: 11.3 kB / 0.5345 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.725, allocations: 4.375 kB / 0.5345 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.7255, allocations: 87.83 kB / 0.5346 GB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7255, allocations: 8 kB / 0.5346 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.7258, allocations: 39.67 kB / 0.5346 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.7259, allocations: 23.98 kB / 0.5347 GB, free: 11.16 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.0003133/0.7262, allocations: 204.5 kB / 0.5349 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.7263, allocations: 39.81 kB / 0.5349 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.7274, allocations: 446.2 kB / 0.5353 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.7275, allocations: 5.938 kB / 0.5353 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7275, allocations: 0 / 0.5353 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.7275, allocations: 0 / 0.5353 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.7309, allocations: 1.345 MB / 0.5366 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7309, allocations: 0 / 0.5366 GB, free: 9.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.7312, allocations: 55.91 kB / 0.5367 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.7312, allocations: 4 kB / 0.5367 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.7313, allocations: 8 kB / 0.5367 GB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.7313, allocations: 4 kB / 0.5367 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7313, allocations: 7.984 kB / 0.5367 GB, free: 8.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.7323, allocations: 0.7346 MB / 0.5374 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.7324, allocations: 35.94 kB / 0.5375 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.7325, allocations: 15.89 kB / 0.5375 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.7329, allocations: 16.67 kB / 0.5375 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.733, allocations: 31.89 kB / 0.5375 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.7331, allocations: 27.92 kB / 0.5376 GB, free: 8.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004016/0.7335, allocations: 291 kB / 0.5378 GB, free: 7.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7335, allocations: 0 / 0.5378 GB, free: 7.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001727/0.7352, allocations: 394.8 kB / 0.5382 GB, free: 7.398 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.001898/0.7371, allocations: 0.6148 MB / 0.5388 GB, free: 6.793 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.7381, allocations: 465.4 kB / 0.5393 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.7381, allocations: 4 kB / 0.5393 GB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.7384, allocations: 147.7 kB / 0.5394 GB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.7397, allocations: 225.3 kB / 0.5396 GB, free: 5.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.7415, allocations: 0.7693 MB / 0.5404 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.7418, allocations: 228.1 kB / 0.5406 GB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.7422, allocations: 94.64 kB / 0.5407 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.7424, allocations: 40.5 kB / 0.5407 GB, free: 4.734 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7424, allocations: 3.938 kB / 0.5407 GB, free: 4.73 MB / 410.7 MB Notification: Performance of Templates: time 0.03168/0.7741, allocations: 14.5 MB / 0.5549 GB, free: 6.293 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.653087176033296]