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.001245/0.001245, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001406/0.001406, allocations: 170.8 kB / 24.91 MB, free: 9.156 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.9117/0.9117, 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.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.252/0.252, allocations: 34.26 MB / 296.1 MB, free: 0.7266 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.353e-06/1.353e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.232e-05, allocations: 2.312 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.306/0.306, allocations: 148.2 MB / 473.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3076, allocations: 0.9008 MB / 474.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.3078, allocations: 12.91 kB / 474.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.3082, allocations: 115.7 kB / 474.5 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.3087, allocations: 306.5 kB / 474.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.3112, allocations: 1.322 MB / 476.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008802/0.3121, allocations: 0.9698 MB / 477.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.3124, allocations: 298.6 kB / 477.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009974/0.3134, allocations: 0.703 MB / 478.1 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.3138, allocations: 286.7 kB / 478.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.3139, allocations: 46.66 kB / 478.4 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.3157, allocations: 1.374 MB / 479.8 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.3159, allocations: 213.4 kB / 480 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3161, allocations: 200.4 kB / 480.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.3179, allocations: 1.398 MB / 481.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3179, allocations: 0 / 481.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3179, allocations: 0 / 481.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3179, allocations: 0 / 481.6 MB, free: 11.92 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.001003/0.3189, allocations: 0.8644 MB / 482.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3189, allocations: 8.656 kB / 482.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.3191, allocations: 88.97 kB / 482.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3194, allocations: 289.5 kB / 482.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3194, allocations: 25.86 kB / 482.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.3195, allocations: 44 kB / 482.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.3199, allocations: 0.6042 MB / 483.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3199, allocations: 0 / 483.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.3199, allocations: 16.03 kB / 483.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.3199, allocations: 11.97 kB / 483.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.3201, allocations: 188.9 kB / 483.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3212, allocations: 1.287 MB / 485 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3214, allocations: 271.6 kB / 485.2 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.3215, allocations: 79.7 kB / 485.3 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.3216, allocations: 78.55 kB / 485.4 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3217, allocations: 39.41 kB / 485.4 MB, free: 9.684 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.3217, allocations: 0 / 485.4 MB, free: 9.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.000282/0.3219, allocations: 189.9 kB / 485.6 MB, free: 9.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.322, allocations: 117.8 kB / 485.7 MB, free: 9.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3221, allocations: 267.3 kB / 486 MB, free: 9.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3221, allocations: 34.08 kB / 486 MB, free: 9.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.3222, allocations: 206.4 kB / 486.2 MB, free: 9.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.3222, allocations: 114 kB / 486.3 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.3223, allocations: 73.22 kB / 486.4 MB, free: 9.117 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.3223, allocations: 347.8 kB / 486.7 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.3224, allocations: 98.22 kB / 486.8 MB, free: 8.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.356e-05/0.3225, allocations: 201.8 kB / 487 MB, free: 8.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.3227, allocations: 297.7 kB / 487.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.3227, allocations: 3.125 kB / 487.3 MB, free: 8.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002513/0.3229, allocations: 359.1 kB / 487.7 MB, free: 8.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.323, allocations: 60.98 kB / 487.7 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.323, allocations: 7.5 kB / 487.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.323, allocations: 5.312 kB / 487.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.3232, allocations: 85.06 kB / 487.8 MB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3232, allocations: 12.08 kB / 487.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3233, allocations: 37.95 kB / 487.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.3233, allocations: 19.19 kB / 487.9 MB, free: 8.039 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.994e-05/0.3234, allocations: 141.8 kB / 488 MB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.3235, allocations: 28.97 kB / 488.1 MB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.3238, allocations: 297.6 kB / 488.4 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3238, allocations: 5.703 kB / 488.4 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3238, allocations: 0 / 488.4 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3238, allocations: 2.578 kB / 488.4 MB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000861/0.3247, allocations: 0.9925 MB / 489.4 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3247, allocations: 2.75 kB / 489.4 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.3248, allocations: 66.25 kB / 489.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3248, allocations: 2.406 kB / 489.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3248, allocations: 13.19 kB / 489.4 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3248, allocations: 6.531 kB / 489.5 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3248, allocations: 3.062 kB / 489.5 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.325, allocations: 0.586 MB / 490 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.3251, allocations: 45.48 kB / 490.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.3251, allocations: 12.31 kB / 490.1 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3253, allocations: 19.86 kB / 490.1 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3253, allocations: 27.08 kB / 490.1 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.3253, allocations: 16.72 kB / 490.2 MB, free: 6.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.3254, allocations: 125.8 kB / 490.3 MB, free: 6.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3254, allocations: 0 / 490.3 MB, free: 6.676 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005569/0.326, allocations: 275.8 kB / 490.6 MB, free: 6.629 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.0005783/0.3266, allocations: 382.3 kB / 490.9 MB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3268, allocations: 334.2 kB / 491.3 MB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3268, allocations: 2.375 kB / 491.3 MB, free: 6.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.3269, allocations: 86.42 kB / 491.3 MB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3275, allocations: 231 kB / 491.6 MB, free: 6.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.3283, allocations: 0.7307 MB / 492.3 MB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.176e-05/0.3283, allocations: 122.5 kB / 492.4 MB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.3285, allocations: 81.53 kB / 492.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.3289, allocations: 246.9 kB / 492.7 MB, free: 5.637 MB / 410.7 MB Notification: Performance of SimCode: time 6.02e-07/0.3289, allocations: 0 / 492.7 MB, free: 5.637 MB / 410.7 MB Notification: Performance of Templates: time 0.01238/0.3413, allocations: 13.1 MB / 0.494 GB, free: 14.91 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.428784431889653]