Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001463/0.001463, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001578/0.001578, allocations: 171.5 kB / 24.91 MB, free: 8.766 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.9689/0.9689, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.244/0.244, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.591e-05, allocations: 5.812 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3123/0.3123, allocations: 148.2 MB / 471.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3138, allocations: 0.8964 MB / 472.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.314, allocations: 13.12 kB / 472.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.3144, allocations: 121.4 kB / 472.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.3148, allocations: 301.6 kB / 472.7 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.3171, allocations: 1.334 MB / 474.1 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008461/0.318, allocations: 0.9699 MB / 475 MB, free: 12.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.3184, allocations: 289 kB / 475.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009248/0.3193, allocations: 0.7059 MB / 476 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.3196, allocations: 282.1 kB / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.3197, allocations: 46.5 kB / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001726/0.3214, allocations: 1.375 MB / 477.7 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3215, allocations: 213.8 kB / 477.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3217, allocations: 200 kB / 478.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.3234, allocations: 1.398 MB / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3235, allocations: 2.531 kB / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3235, allocations: 0 / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3235, allocations: 0 / 479.5 MB, free: 12.03 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.001037/0.3245, allocations: 0.8606 MB / 480.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3245, allocations: 8.5 kB / 480.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.3247, allocations: 89.78 kB / 480.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.325, allocations: 291.4 kB / 480.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3251, allocations: 25.58 kB / 480.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.3251, allocations: 44.34 kB / 480.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.3255, allocations: 0.602 MB / 481.4 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3255, allocations: 0 / 481.4 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.3255, allocations: 15.78 kB / 481.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3255, allocations: 8.531 kB / 481.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.3258, allocations: 191.6 kB / 481.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.3269, allocations: 1.281 MB / 482.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.3271, allocations: 284.5 kB / 483.2 MB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.813e-05/0.3272, allocations: 75.59 kB / 483.3 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.3274, allocations: 78.58 kB / 483.4 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3274, allocations: 36.53 kB / 483.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.3274, allocations: 0 / 483.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0003016/0.3277, allocations: 189.5 kB / 483.6 MB, free: 9.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.3277, allocations: 112.1 kB / 483.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3278, allocations: 265.9 kB / 484 MB, free: 9.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3278, allocations: 38.3 kB / 484 MB, free: 9.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.3279, allocations: 208.2 kB / 484.2 MB, free: 9.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.3279, allocations: 112.1 kB / 484.3 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.148e-05/0.328, allocations: 72.03 kB / 484.4 MB, free: 9.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.06e-05/0.3281, allocations: 350.1 kB / 484.7 MB, free: 8.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.3282, allocations: 101.5 kB / 484.8 MB, free: 8.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.3283, allocations: 204.3 kB / 485 MB, free: 8.672 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.3284, allocations: 295.3 kB / 485.3 MB, free: 8.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3284, allocations: 0 / 485.3 MB, free: 8.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002548/0.3287, allocations: 358.4 kB / 485.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3287, allocations: 62.23 kB / 485.7 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3287, allocations: 2.75 kB / 485.7 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3288, allocations: 6.234 kB / 485.7 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3289, allocations: 84.48 kB / 485.8 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3289, allocations: 5.375 kB / 485.8 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3291, allocations: 43.91 kB / 485.8 MB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.3291, allocations: 24.86 kB / 485.9 MB, free: 8.164 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 8.878e-05/0.3292, allocations: 143.3 kB / 486 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.3292, allocations: 31.94 kB / 486 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.3296, allocations: 292.4 kB / 486.3 MB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3296, allocations: 5.219 kB / 486.3 MB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3296, allocations: 4 kB / 486.3 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3296, allocations: 2.531 kB / 486.3 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.3305, allocations: 0.9933 MB / 487.3 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3305, allocations: 3.531 kB / 487.3 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3306, allocations: 58.59 kB / 487.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3306, allocations: 5.672 kB / 487.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3306, allocations: 16.81 kB / 487.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3306, allocations: 2.781 kB / 487.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3306, allocations: 2.656 kB / 487.4 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.3308, allocations: 0.5845 MB / 488 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.3309, allocations: 45.62 kB / 488.1 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3309, allocations: 13.12 kB / 488.1 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.3311, allocations: 18.89 kB / 488.1 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.3311, allocations: 21.77 kB / 488.1 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3311, allocations: 19.17 kB / 488.1 MB, free: 6.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.3312, allocations: 131.4 kB / 488.3 MB, free: 6.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3312, allocations: 0 / 488.3 MB, free: 6.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000602/0.3318, allocations: 277 kB / 488.5 MB, free: 6.75 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.0005904/0.3324, allocations: 382.8 kB / 488.9 MB, free: 6.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3327, allocations: 328.6 kB / 489.2 MB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3327, allocations: 6.875 kB / 489.2 MB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.3328, allocations: 90.28 kB / 489.3 MB, free: 6.395 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.3333, allocations: 227 kB / 489.5 MB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.3342, allocations: 0.7316 MB / 490.3 MB, free: 5.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.3343, allocations: 127 kB / 490.4 MB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.3345, allocations: 82.56 kB / 490.5 MB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003708/0.3348, allocations: 240.1 kB / 490.7 MB, free: 5.758 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.3348, allocations: 0 / 490.7 MB, free: 5.758 MB / 410.7 MB Notification: Performance of Templates: time 0.0133/0.3481, allocations: 13.1 MB / 0.492 GB, free: 15.21 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6045329459011555]