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.001319/0.001319, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001076/0.001076, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.9584/0.9584, 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.2484/0.2484, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.393e-06/1.393e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.659e-05, allocations: 7.891 kB / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3241/0.3241, allocations: 148.2 MB / 473.5 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.3255, allocations: 0.9063 MB / 474.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3256, allocations: 17.41 kB / 474.5 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.326, allocations: 106.5 kB / 474.6 MB, free: 12.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.3264, allocations: 302.2 kB / 474.8 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.3289, allocations: 1.263 MB / 476.1 MB, free: 12.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.3297, allocations: 0.9637 MB / 477.1 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003731/0.33, allocations: 304.1 kB / 477.4 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009346/0.331, allocations: 0.7044 MB / 478.1 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003497/0.3313, allocations: 278.2 kB / 478.3 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.3314, allocations: 48.69 kB / 478.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.333, allocations: 1.443 MB / 479.8 MB, free: 12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3332, allocations: 209.7 kB / 480 MB, free: 12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.3334, allocations: 197.4 kB / 480.2 MB, free: 12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.3348, allocations: 1.4 MB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3348, allocations: 4.156 kB / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3348, allocations: 0 / 481.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3348, allocations: 0 / 481.6 MB, free: 11.89 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.0008608/0.3356, allocations: 0.8592 MB / 482.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.494e-05/0.3357, allocations: 11.97 kB / 482.5 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.3359, allocations: 85.83 kB / 482.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3361, allocations: 293.7 kB / 482.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3362, allocations: 27.34 kB / 482.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.3362, allocations: 45.12 kB / 483 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.3366, allocations: 0.6061 MB / 483.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3366, allocations: 3.359 kB / 483.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3366, allocations: 15.62 kB / 483.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.3366, allocations: 10.47 kB / 483.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.3368, allocations: 181 kB / 483.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.3379, allocations: 1.283 MB / 485 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.3381, allocations: 280.6 kB / 485.3 MB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.676e-05/0.3382, allocations: 72.47 kB / 485.4 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.3383, allocations: 78.8 kB / 485.5 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3384, allocations: 49.41 kB / 485.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.3384, allocations: 1.094 kB / 485.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.000289/0.3386, allocations: 189.7 kB / 485.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.3387, allocations: 108.1 kB / 485.8 MB, free: 9.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3388, allocations: 261.9 kB / 486.1 MB, free: 9.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.3388, allocations: 34.48 kB / 486.1 MB, free: 9.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.3389, allocations: 213.5 kB / 486.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.3389, allocations: 109 kB / 486.4 MB, free: 9.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.339, allocations: 72.06 kB / 486.5 MB, free: 9.094 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.339, allocations: 357.8 kB / 486.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.3391, allocations: 99.95 kB / 486.9 MB, free: 8.707 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.777e-05/0.3392, allocations: 202 kB / 487.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.3394, allocations: 290.4 kB / 487.4 MB, free: 8.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3394, allocations: 2.719 kB / 487.4 MB, free: 8.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002593/0.3397, allocations: 355.7 kB / 487.8 MB, free: 8.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3397, allocations: 70.5 kB / 487.8 MB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.3397, allocations: 8.859 kB / 487.8 MB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.3397, allocations: 5.531 kB / 487.8 MB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.3399, allocations: 82.25 kB / 487.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3399, allocations: 9.891 kB / 487.9 MB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.34, allocations: 36.58 kB / 488 MB, free: 8.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.34, allocations: 17.97 kB / 488 MB, free: 8.02 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 7.798e-05/0.3401, allocations: 146.1 kB / 488.1 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.3402, allocations: 34.94 kB / 488.2 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.3405, allocations: 291.1 kB / 488.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3405, allocations: 5.25 kB / 488.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-06/0.3405, allocations: 1.094 kB / 488.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3405, allocations: 4.953 kB / 488.5 MB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008244/0.3413, allocations: 1 MB / 489.5 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3413, allocations: 2.969 kB / 489.5 MB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3415, allocations: 60.19 kB / 489.5 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.3415, allocations: 2.75 kB / 489.5 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3415, allocations: 11.42 kB / 489.5 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3415, allocations: 7.734 kB / 489.5 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3415, allocations: 0 / 489.5 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3417, allocations: 0.5924 MB / 490.1 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3418, allocations: 48.09 kB / 490.2 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.3418, allocations: 13.22 kB / 490.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.342, allocations: 20.8 kB / 490.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.342, allocations: 30.67 kB / 490.2 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.342, allocations: 16.64 kB / 490.3 MB, free: 6.668 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.3421, allocations: 124.1 kB / 490.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3421, allocations: 0 / 490.4 MB, free: 6.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005072/0.3426, allocations: 276.2 kB / 490.7 MB, free: 6.602 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.0005396/0.3432, allocations: 378.9 kB / 491 MB, free: 6.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.3434, allocations: 335.7 kB / 491.4 MB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.3435, allocations: 5.25 kB / 491.4 MB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.607e-05/0.3435, allocations: 78.89 kB / 491.4 MB, free: 6.254 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.3441, allocations: 231.3 kB / 491.7 MB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/0.3449, allocations: 0.7353 MB / 492.4 MB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.345, allocations: 128.2 kB / 492.5 MB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.3452, allocations: 75.27 kB / 492.6 MB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.3456, allocations: 239.9 kB / 492.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3456, allocations: 0 / 492.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of Templates: time 0.01238/0.358, allocations: 13.09 MB / 0.4941 GB, free: 14.89 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 -s gbode -gbm=radauIIA3 -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.4203484770841897]