Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 119.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 192.3 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 222.9 MB / 247 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 47.92 kB / 358.7 MB, free: 8.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1012, allocations: 49.44 MB / 408.1 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005131/0.1064, allocations: 3.736 MB / 411.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1082, allocations: 1.001 MB / 412.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.1084, allocations: 4 kB / 412.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1088, allocations: 119 kB / 412.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.1092, allocations: 202.3 kB / 413.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1095, allocations: 139.8 kB / 413.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008249/0.1104, allocations: 0.7001 MB / 414 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.1107, allocations: 210.7 kB / 414.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.111, allocations: 263 kB / 414.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.1114, allocations: 306.6 kB / 414.7 MB, free: 264 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1115, allocations: 63.98 kB / 414.8 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1116, allocations: 60 kB / 414.9 MB, free: 140 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1118, allocations: 131.5 kB / 415 MB, free: 8 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.1121, allocations: 322.6 kB / 415.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007903/0.1129, allocations: 0.7119 MB / 416 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1129, allocations: 4 kB / 416 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1129, allocations: 0 / 416 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.113, allocations: 0 / 416 MB, free: 14.97 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001666/0.1146, allocations: 0.9379 MB / 417 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1147, allocations: 15.97 kB / 417 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.1148, allocations: 68.56 kB / 417 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.1156, allocations: 447.1 kB / 417.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.1157, allocations: 59.25 kB / 417.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.1158, allocations: 36.38 kB / 417.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009222/0.1167, allocations: 0.5021 MB / 418.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1168, allocations: 4 kB / 418.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/0.1168, allocations: 16 kB / 418.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1168, allocations: 8 kB / 418.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008943/0.1177, allocations: 351.8 kB / 418.4 MB, free: 12.39 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.1199, allocations: 1.347 MB / 419.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009609/0.1209, allocations: 461.1 kB / 420.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.1214, allocations: 193.4 kB / 420.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.1214, allocations: 11.97 kB / 420.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.1215, allocations: 42.56 kB / 420.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.1215, allocations: 0 / 420.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001765/0.1233, allocations: 0.7386 MB / 421.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002563/0.1235, allocations: 448.9 kB / 421.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.1241, allocations: 482 kB / 422.1 MB, free: 8.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.1242, allocations: 41.7 kB / 422.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1244, allocations: 244.6 kB / 422.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1245, allocations: 138.8 kB / 422.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.1247, allocations: 77.69 kB / 422.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.1249, allocations: 362.7 kB / 423 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.1253, allocations: 139.9 kB / 423.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.1258, allocations: 298.2 kB / 423.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.1267, allocations: 347 kB / 423.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1267, allocations: 0 / 423.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001105/0.1278, allocations: 0.496 MB / 424.2 MB, free: 6.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.1278, allocations: 29.7 kB / 424.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1278, allocations: 3.938 kB / 424.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.128, allocations: 49.69 kB / 424.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004288/0.1285, allocations: 91.91 kB / 424.4 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/0.1314, allocations: 2.965 MB / 427.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.1319, allocations: 59.75 kB / 427.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.132, allocations: 12 kB / 427.5 MB, free: 2.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.1322, allocations: 169.8 kB / 427.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1323, allocations: 67.66 kB / 427.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1325, allocations: 48.94 kB / 427.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1325, allocations: 4 kB / 427.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.1325, allocations: 3.938 kB / 427.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.1336, allocations: 0.7398 MB / 428.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.1355, allocations: 1.048 MB / 429.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.1355, allocations: 7.922 kB / 429.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.136, allocations: 87.88 kB / 429.6 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.136, allocations: 4.234 kB / 429.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.136, allocations: 12 kB / 429.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.136, allocations: 0 / 429.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.136, allocations: 0 / 429.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1898/0.3259, allocations: 0.6731 MB / 430.3 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.3262, allocations: 176.3 kB / 430.5 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.3263, allocations: 11.03 kB / 430.5 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.3267, allocations: 28.3 kB / 430.5 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.3268, allocations: 21.64 kB / 430.5 MB, free: 22.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.3268, allocations: 8.531 kB / 430.5 MB, free: 22.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003209/0.3271, allocations: 345.6 kB / 430.9 MB, free: 22.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3271, allocations: 0 / 430.9 MB, free: 22.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.3276, allocations: 141 kB / 431 MB, free: 22.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * 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.0001209/0.3277, allocations: 115.2 kB / 431.1 MB, free: 22.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3289, allocations: 0.6466 MB / 431.8 MB, free: 22.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3289, allocations: 0.5625 kB / 431.8 MB, free: 22.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.3293, allocations: 183.4 kB / 432 MB, free: 22.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.33, allocations: 147.3 kB / 432.1 MB, free: 22.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.3315, allocations: 0.9999 MB / 433.1 MB, free: 21.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3317, allocations: 0.8337 MB / 433.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3319, allocations: 43.91 kB / 434 MB, free: 21.03 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3319, allocations: 0 / 434 MB, free: 21.03 MB / 350.1 MB Notification: Performance of Templates: time 0.01437/0.3463, allocations: 9.208 MB / 443.2 MB, free: 19.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.223406156059355]