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.002011/0.002011, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002443/0.002443, allocations: 161.7 kB / 24.27 MB, free: 176 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 1.575/1.575, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3274/0.3274, allocations: 34.26 MB / 295.3 MB, free: 0.6758 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.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.957e-05, allocations: 2.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3402/0.3403, allocations: 160.3 MB / 0.525 GB, free: 6.371 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.342, allocations: 0.8868 MB / 0.5259 GB, free: 5.762 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.3422, allocations: 16.03 kB / 0.5259 GB, free: 5.754 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.3429, allocations: 194.6 kB / 0.5261 GB, free: 5.645 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005054/0.3434, allocations: 310.5 kB / 0.5264 GB, free: 5.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.3481, allocations: 1.998 MB / 0.5283 GB, free: 4.492 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.3491, allocations: 0.9879 MB / 0.5293 GB, free: 4.027 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.3495, allocations: 279.3 kB / 0.5295 GB, free: 3.863 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.3527, allocations: 1.733 MB / 0.5312 GB, free: 3.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.3532, allocations: 295.6 kB / 0.5315 GB, free: 3.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.3532, allocations: 47.81 kB / 0.5316 GB, free: 3.074 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003967/0.3572, allocations: 2.303 MB / 0.5338 GB, free: 2.457 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.3574, allocations: 214.2 kB / 0.534 GB, free: 2.359 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.3576, allocations: 197.4 kB / 0.5342 GB, free: 2.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.3606, allocations: 2.225 MB / 0.5364 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3606, allocations: 0 / 0.5364 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3606, allocations: 0 / 0.5364 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.3606, allocations: 0 / 0.5364 GB, free: 0.9688 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.001608/0.3622, allocations: 1.003 MB / 0.5374 GB, free: 164 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3622, allocations: 7.969 kB / 0.5374 GB, free: 164 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.3626, allocations: 98.19 kB / 0.5375 GB, free: 116 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.3631, allocations: 333.5 kB / 0.5378 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.3631, allocations: 29.47 kB / 0.5378 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.3632, allocations: 41.34 kB / 0.5379 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.3645, allocations: 0.7734 MB / 0.5386 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3645, allocations: 0 / 0.5386 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.3645, allocations: 20.91 kB / 0.5386 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3645, allocations: 11.88 kB / 0.5386 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008979/0.3654, allocations: 493.1 kB / 0.5391 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.3684, allocations: 1.471 MB / 0.5405 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.3691, allocations: 372.7 kB / 0.5409 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.3694, allocations: 168.1 kB / 0.5411 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/0.3699, allocations: 126.8 kB / 0.5412 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.3699, allocations: 51.48 kB / 0.5412 GB, free: 13.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.3699, allocations: 0 / 0.5412 GB, free: 13.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001171/0.3711, allocations: 0.4911 MB / 0.5417 GB, free: 13.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.3712, allocations: 108.2 kB / 0.5418 GB, free: 12.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.3715, allocations: 294.7 kB / 0.5421 GB, free: 12.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.3716, allocations: 35.55 kB / 0.5421 GB, free: 12.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3718, allocations: 233.2 kB / 0.5423 GB, free: 12.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.3719, allocations: 108.6 kB / 0.5425 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.372, allocations: 77.95 kB / 0.5425 GB, free: 12.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.3722, allocations: 343.1 kB / 0.5429 GB, free: 12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.3726, allocations: 207.7 kB / 0.5431 GB, free: 11.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.3731, allocations: 315.2 kB / 0.5434 GB, free: 11.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008079/0.3739, allocations: 485.9 kB / 0.5438 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3739, allocations: 0 / 0.5438 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001108/0.375, allocations: 0.6064 MB / 0.5444 GB, free: 10.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.524e-05/0.375, allocations: 67.59 kB / 0.5445 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3751, allocations: 8.344 kB / 0.5445 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3751, allocations: 9.344 kB / 0.5445 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.3755, allocations: 80.86 kB / 0.5446 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.3755, allocations: 9.203 kB / 0.5446 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003194/0.3758, allocations: 41.52 kB / 0.5446 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.3759, allocations: 24.27 kB / 0.5446 GB, free: 10.72 MB / 426.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.0002504/0.3761, allocations: 185.1 kB / 0.5448 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.3763, allocations: 48.22 kB / 0.5449 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.3773, allocations: 484.8 kB / 0.5453 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3774, allocations: 4.875 kB / 0.5453 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3774, allocations: 0 / 0.5453 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3774, allocations: 7.172 kB / 0.5453 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.3799, allocations: 1.204 MB / 0.5465 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3799, allocations: 6.969 kB / 0.5465 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.3802, allocations: 61.2 kB / 0.5466 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3802, allocations: 5.469 kB / 0.5466 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3802, allocations: 6.781 kB / 0.5466 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3802, allocations: 5.156 kB / 0.5466 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3802, allocations: 2 kB / 0.5466 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000978/0.3812, allocations: 0.6487 MB / 0.5472 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.3813, allocations: 39.7 kB / 0.5473 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.3813, allocations: 19.5 kB / 0.5473 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.3818, allocations: 19.97 kB / 0.5473 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.204e-05/0.3819, allocations: 27.91 kB / 0.5473 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.3819, allocations: 31.86 kB / 0.5474 GB, free: 8.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003683/0.3823, allocations: 279 kB / 0.5476 GB, free: 8.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3823, allocations: 0 / 0.5476 GB, free: 8.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001236/0.3835, allocations: 362.9 kB / 0.548 GB, free: 7.977 MB / 426.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.001385/0.3849, allocations: 0.5176 MB / 0.5485 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3859, allocations: 0.494 MB / 0.549 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3859, allocations: 0 / 0.549 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.3863, allocations: 163.9 kB / 0.5491 GB, free: 6.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.3878, allocations: 222.8 kB / 0.5493 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3893, allocations: 0.7656 MB / 0.5501 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3896, allocations: 232.1 kB / 0.5503 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.39, allocations: 95.89 kB / 0.5504 GB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3901, allocations: 44.5 kB / 0.5504 GB, free: 5.379 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3901, allocations: 0 / 0.5504 GB, free: 5.379 MB / 426.7 MB Notification: Performance of Templates: time 0.02604/0.4162, allocations: 13.5 MB / 0.5636 GB, free: 8.078 MB / 442.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=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: 5.802500487072393]