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.001714/0.001714, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001879/0.001879, allocations: 206.9 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2424/0.2424, allocations: 46.95 MB / 360.9 MB, free: 4.035 MB / 286.1 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 0.002086/0.002086, allocations: 79.86 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3013, allocations: 66.03 MB / 0.5611 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2096/0.5109, allocations: 160.4 MB / 0.7177 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.513, allocations: 0.8775 MB / 0.7186 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.5133, allocations: 15.88 kB / 0.7186 GB, free: 2.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007027/0.514, allocations: 198.6 kB / 0.7188 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007369/0.5148, allocations: 298.3 kB / 0.7191 GB, free: 1.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005343/0.5201, allocations: 1.965 MB / 0.721 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5216, allocations: 0.9906 MB / 0.7219 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.5221, allocations: 277.3 kB / 0.7222 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.526, allocations: 1.601 MB / 0.7238 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.5267, allocations: 342.8 kB / 0.7241 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.5268, allocations: 48 kB / 0.7241 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.5315, allocations: 2.355 MB / 0.7264 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003337/0.5318, allocations: 203.4 kB / 0.7266 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.5323, allocations: 231.1 kB / 0.7269 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004545/0.5368, allocations: 1.975 MB / 0.7288 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5369, allocations: 7.938 kB / 0.7288 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5369, allocations: 3.938 kB / 0.7288 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.5369, allocations: 0 / 0.7288 GB, free: 7.949 MB / 0.5606 GB 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.002488/0.5394, allocations: 0.9974 MB / 0.7298 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5394, allocations: 12.03 kB / 0.7298 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.5397, allocations: 63.66 kB / 0.7298 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.5404, allocations: 311.9 kB / 0.7301 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.5405, allocations: 36.94 kB / 0.7302 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.217e-05/0.5406, allocations: 36 kB / 0.7302 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5418, allocations: 0.7669 MB / 0.731 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5418, allocations: 3.938 kB / 0.731 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-05/0.5419, allocations: 16 kB / 0.731 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.5419, allocations: 12 kB / 0.731 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009927/0.5429, allocations: 491.5 kB / 0.7315 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.5458, allocations: 1.481 MB / 0.7329 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.5465, allocations: 359.6 kB / 0.7332 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.5469, allocations: 170.5 kB / 0.7334 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005243/0.5474, allocations: 139.9 kB / 0.7335 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5474, allocations: 38.56 kB / 0.7336 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 2.515e-06/0.5474, allocations: 0 / 0.7336 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001232/0.5487, allocations: 0.4891 MB / 0.7341 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.5488, allocations: 110.8 kB / 0.7342 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.5491, allocations: 296.6 kB / 0.7344 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.5492, allocations: 37.7 kB / 0.7345 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.5494, allocations: 220.3 kB / 0.7347 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.5495, allocations: 123.1 kB / 0.7348 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5496, allocations: 74.06 kB / 0.7349 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5498, allocations: 338.8 kB / 0.7352 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.5502, allocations: 204 kB / 0.7354 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.5507, allocations: 313.6 kB / 0.7357 GB, free: 488 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2296/0.7802, allocations: 478 kB / 0.7362 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.7802, allocations: 1 kB / 0.7362 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001402/0.7816, allocations: 0.5955 MB / 0.7367 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.7817, allocations: 64.7 kB / 0.7368 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.7817, allocations: 6.562 kB / 0.7368 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.7817, allocations: 5.344 kB / 0.7368 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.7823, allocations: 80.56 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.7823, allocations: 10.42 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.7827, allocations: 44.94 kB / 0.7369 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.7828, allocations: 21.77 kB / 0.737 GB, free: 174.9 MB / 0.5606 GB 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.0002558/0.783, allocations: 182.3 kB / 0.7371 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.7832, allocations: 36.91 kB / 0.7372 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.7843, allocations: 485 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.7844, allocations: 7.156 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.7844, allocations: 4.25 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.7844, allocations: 6.75 kB / 0.7376 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.7869, allocations: 1.201 MB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7869, allocations: 5.781 kB / 0.7388 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.7872, allocations: 62.41 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.7872, allocations: 5.234 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.7873, allocations: 12.12 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.7873, allocations: 5.016 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7873, allocations: 4.625 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.788, allocations: 0.6289 MB / 0.7395 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.7881, allocations: 38.92 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.7881, allocations: 16.05 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.7886, allocations: 18.59 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.7887, allocations: 27.98 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.7887, allocations: 21.73 kB / 0.7396 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002597/0.789, allocations: 279 kB / 0.7399 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.789, allocations: 0 / 0.7399 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001001/0.79, allocations: 374.2 kB / 0.7403 GB, free: 173.2 MB / 0.5606 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.0009941/0.791, allocations: 0.5001 MB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.7917, allocations: 0.5057 MB / 0.7412 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7917, allocations: 3.719 kB / 0.7413 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.7919, allocations: 154.1 kB / 0.7414 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7931, allocations: 197.4 kB / 0.7416 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.7941, allocations: 0.7777 MB / 0.7423 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.7943, allocations: 243.7 kB / 0.7426 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.7946, allocations: 106.3 kB / 0.7427 GB, free: 172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.7947, allocations: 43.09 kB / 0.7427 GB, free: 172 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.7947, allocations: 0 / 0.7427 GB, free: 172 MB / 0.5606 GB Notification: Performance of Templates: time 0.01719/0.8119, allocations: 14.17 MB / 0.7566 GB, free: 158.4 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.136692487169057]