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.00103/0.00103, 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.001025/0.001025, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9671/0.9671, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2309/0.2309, allocations: 32.81 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.062e-06/1.062e-06, allocations: 0 / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.647e-05, allocations: 5.094 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2955/0.2955, allocations: 148.2 MB / 471.5 MB, free: 12.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2968, allocations: 0.9062 MB / 472.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.297, allocations: 16.25 kB / 472.4 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.2974, allocations: 107.3 kB / 472.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.2978, allocations: 303.3 kB / 472.8 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.2999, allocations: 1.263 MB / 474.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.3007, allocations: 0.9668 MB / 475.1 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.301, allocations: 300.4 kB / 475.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008149/0.3018, allocations: 0.7076 MB / 476.1 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.3021, allocations: 281.2 kB / 476.3 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.695e-05/0.3022, allocations: 47.09 kB / 476.4 MB, free: 12.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.3039, allocations: 1.44 MB / 477.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.3041, allocations: 215.7 kB / 478 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3042, allocations: 200.9 kB / 478.2 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3056, allocations: 1.399 MB / 479.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3056, allocations: 0 / 479.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3056, allocations: 0 / 479.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.3056, allocations: 1.203 kB / 479.6 MB, free: 12.04 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.0008902/0.3065, allocations: 0.86 MB / 480.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.3065, allocations: 8 kB / 480.5 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.3067, allocations: 90.38 kB / 480.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.307, allocations: 287.6 kB / 480.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.307, allocations: 28.34 kB / 480.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.3071, allocations: 40.53 kB / 480.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.3074, allocations: 0.6026 MB / 481.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3074, allocations: 8.922 kB / 481.5 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.3075, allocations: 14.27 kB / 481.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3075, allocations: 10.88 kB / 481.6 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.3077, allocations: 180 kB / 481.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.3087, allocations: 1.285 MB / 483 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.3089, allocations: 276.8 kB / 483.3 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.309, allocations: 76.36 kB / 483.4 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.3092, allocations: 77.88 kB / 483.5 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.3092, allocations: 43.11 kB / 483.5 MB, free: 9.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.3092, allocations: 3.984 kB / 483.5 MB, free: 9.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002887/0.3095, allocations: 189.1 kB / 483.7 MB, free: 9.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.845e-05/0.3095, allocations: 114.7 kB / 483.8 MB, free: 9.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3096, allocations: 260.2 kB / 484 MB, free: 9.512 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3096, allocations: 37.83 kB / 484.1 MB, free: 9.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.3097, allocations: 206.4 kB / 484.3 MB, free: 9.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.3097, allocations: 114 kB / 484.4 MB, free: 9.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.3098, allocations: 75.06 kB / 484.5 MB, free: 9.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.3099, allocations: 348.4 kB / 484.8 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.3099, allocations: 98.19 kB / 484.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.31, allocations: 207.1 kB / 485.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.3102, allocations: 292.7 kB / 485.4 MB, free: 8.461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3102, allocations: 0 / 485.4 MB, free: 8.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002573/0.3105, allocations: 363.9 kB / 485.8 MB, free: 8.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.3105, allocations: 59.69 kB / 485.8 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3105, allocations: 5.062 kB / 485.8 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3105, allocations: 6.094 kB / 485.8 MB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3107, allocations: 88.64 kB / 485.9 MB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3107, allocations: 5.5 kB / 485.9 MB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3109, allocations: 40.67 kB / 486 MB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3109, allocations: 21.78 kB / 486 MB, free: 8.172 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.38e-05/0.311, allocations: 150.9 kB / 486.1 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.311, allocations: 34.52 kB / 486.2 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003386/0.3114, allocations: 284 kB / 486.4 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3114, allocations: 5.891 kB / 486.4 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3114, allocations: 0 / 486.4 MB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3114, allocations: 9.531 kB / 486.4 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.3123, allocations: 0.9927 MB / 487.4 MB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3123, allocations: 0 / 487.4 MB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.3124, allocations: 60.56 kB / 487.5 MB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3124, allocations: 5.219 kB / 487.5 MB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3124, allocations: 13.12 kB / 487.5 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3124, allocations: 6.422 kB / 487.5 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3124, allocations: 3 kB / 487.5 MB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.3126, allocations: 0.592 MB / 488.1 MB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.3127, allocations: 41.83 kB / 488.2 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.3127, allocations: 18.11 kB / 488.2 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3129, allocations: 15.58 kB / 488.2 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3129, allocations: 27.73 kB / 488.2 MB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.3129, allocations: 18.94 kB / 488.2 MB, free: 6.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.446e-05/0.313, allocations: 126.3 kB / 488.4 MB, free: 6.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.313, allocations: 0 / 488.4 MB, free: 6.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004702/0.3135, allocations: 275.3 kB / 488.6 MB, free: 6.758 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.0005379/0.314, allocations: 384.1 kB / 489 MB, free: 6.637 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3143, allocations: 324.4 kB / 489.3 MB, free: 6.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.3143, allocations: 9.406 kB / 489.3 MB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.3144, allocations: 86.47 kB / 489.4 MB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.3149, allocations: 228.4 kB / 489.6 MB, free: 6.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.3157, allocations: 0.7359 MB / 490.4 MB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.3158, allocations: 123 kB / 490.5 MB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.316, allocations: 76.84 kB / 490.6 MB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.3163, allocations: 242.3 kB / 490.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3163, allocations: 0 / 490.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of Templates: time 0.01248/0.3288, allocations: 13.1 MB / 0.4921 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 -s gbode -gbm=radauIIA3 -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.4356296048499644]