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.0009622/0.0009622, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001286/0.001286, allocations: 165 kB / 24.56 MB, free: 12 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 0.9345/0.9345, allocations: 177.1 MB / 205 MB, free: 5.609 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.2286/0.2286, allocations: 32.81 MB / 294.3 MB, free: 1.262 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.904e-06/1.904e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.083e-05, allocations: 2.312 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.2793/0.2793, allocations: 148.8 MB / 0.5126 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2806, allocations: 0.8712 MB / 0.5134 GB, free: 17.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.2808, allocations: 13.03 kB / 0.5134 GB, free: 17.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.2813, allocations: 125.9 kB / 0.5135 GB, free: 17.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.2818, allocations: 298.6 kB / 0.5138 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.2845, allocations: 1.331 MB / 0.5151 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000905/0.2854, allocations: 0.9611 MB / 0.5161 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.2858, allocations: 293 kB / 0.5163 GB, free: 15.99 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.2869, allocations: 0.7055 MB / 0.517 GB, free: 15.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.2872, allocations: 299.6 kB / 0.5173 GB, free: 15.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.142e-05/0.2873, allocations: 47.53 kB / 0.5174 GB, free: 15.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.2895, allocations: 1.377 MB / 0.5187 GB, free: 15.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.2896, allocations: 212.5 kB / 0.5189 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.2898, allocations: 201 kB / 0.5191 GB, free: 15.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.2918, allocations: 1.395 MB / 0.5205 GB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2918, allocations: 2.75 kB / 0.5205 GB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2918, allocations: 0 / 0.5205 GB, free: 14.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2918, allocations: 0 / 0.5205 GB, free: 14.6 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.001177/0.293, allocations: 0.9915 MB / 0.5214 GB, free: 13.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.293, allocations: 12.06 kB / 0.5215 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.2933, allocations: 98.8 kB / 0.5215 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2936, allocations: 342.7 kB / 0.5219 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2936, allocations: 26.88 kB / 0.5219 GB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.2937, allocations: 40.94 kB / 0.5219 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.2942, allocations: 0.6532 MB / 0.5226 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2942, allocations: 0 / 0.5226 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.2942, allocations: 14.94 kB / 0.5226 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.2942, allocations: 10.97 kB / 0.5226 GB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.2946, allocations: 257.3 kB / 0.5228 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.2959, allocations: 1.73 MB / 0.5245 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.2962, allocations: 242.7 kB / 0.5248 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2963, allocations: 97.8 kB / 0.5249 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.2966, allocations: 83.98 kB / 0.5249 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2966, allocations: 39.98 kB / 0.525 GB, free: 11.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.384e-06/0.2966, allocations: 0 / 0.525 GB, free: 11.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005147/0.2971, allocations: 286.3 kB / 0.5253 GB, free: 11.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2971, allocations: 112.4 kB / 0.5254 GB, free: 11.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.2973, allocations: 325.2 kB / 0.5257 GB, free: 10.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.2974, allocations: 39.7 kB / 0.5257 GB, free: 10.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.2975, allocations: 278.1 kB / 0.526 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.2975, allocations: 110 kB / 0.5261 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.2976, allocations: 80.92 kB / 0.5262 GB, free: 10.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.2977, allocations: 0.5173 MB / 0.5267 GB, free: 9.965 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2978, allocations: 117.3 kB / 0.5268 GB, free: 9.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.298, allocations: 267.6 kB / 0.527 GB, free: 9.637 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.2984, allocations: 361.7 kB / 0.5274 GB, free: 9.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2984, allocations: 2.656 kB / 0.5274 GB, free: 9.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004951/0.2989, allocations: 458.3 kB / 0.5278 GB, free: 9.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.2989, allocations: 61.31 kB / 0.5279 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2989, allocations: 5.75 kB / 0.5279 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.299, allocations: 8.203 kB / 0.5279 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.2992, allocations: 79.33 kB / 0.528 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2992, allocations: 10.25 kB / 0.528 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2993, allocations: 37.52 kB / 0.528 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.2994, allocations: 25.09 kB / 0.528 GB, free: 8.961 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 9.936e-05/0.2995, allocations: 187.8 kB / 0.5282 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.2996, allocations: 42.28 kB / 0.5282 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.3, allocations: 355 kB / 0.5286 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3, allocations: 5.906 kB / 0.5286 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3, allocations: 4.875 kB / 0.5286 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3, allocations: 2.438 kB / 0.5286 GB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3012, allocations: 1.187 MB / 0.5298 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3012, allocations: 2.812 kB / 0.5298 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.3013, allocations: 63.55 kB / 0.5298 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3013, allocations: 9.844 kB / 0.5298 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.3014, allocations: 10.03 kB / 0.5298 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3014, allocations: 10.5 kB / 0.5299 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3014, allocations: 3 kB / 0.5299 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3017, allocations: 0.6554 MB / 0.5305 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.3017, allocations: 43.36 kB / 0.5305 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.3018, allocations: 11.47 kB / 0.5305 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.302, allocations: 15.17 kB / 0.5306 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.302, allocations: 31.2 kB / 0.5306 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.302, allocations: 23.31 kB / 0.5306 GB, free: 7.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3022, allocations: 259.7 kB / 0.5309 GB, free: 7.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3022, allocations: 4 kB / 0.5309 GB, free: 7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.3028, allocations: 278.3 kB / 0.5311 GB, free: 6.93 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.0006325/0.3035, allocations: 399.9 kB / 0.5315 GB, free: 6.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.3038, allocations: 378 kB / 0.5319 GB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3038, allocations: 3.719 kB / 0.5319 GB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3039, allocations: 110.7 kB / 0.532 GB, free: 6.465 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/0.3046, allocations: 216.2 kB / 0.5322 GB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.3056, allocations: 0.7352 MB / 0.5329 GB, free: 5.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.195e-05/0.3057, allocations: 126.5 kB / 0.533 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002228/0.3059, allocations: 90.09 kB / 0.5331 GB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.306, allocations: 43.64 kB / 0.5332 GB, free: 5.793 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.306, allocations: 0 / 0.5332 GB, free: 5.793 MB / 410.7 MB Notification: Performance of Templates: time 0.01421/0.3202, allocations: 13.07 MB / 0.5459 GB, free: 14.95 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.499159296043217]