Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001962/0.001962, allocations: 80.75 kB / 20.68 MB, free: 1.039 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.002331/0.002331, allocations: 154.8 kB / 23.94 MB, free: 4.176 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.458/1.458, allocations: 173.3 MB / 200.4 MB, free: 12.89 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.069e-05, allocations: 2.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003427/0.003448, allocations: 3.19 MB / 322.1 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.004752, allocations: 0.9133 MB / 323 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.00494, allocations: 9.125 kB / 323 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.005232, allocations: 104.5 kB / 323.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.00558, allocations: 199.1 kB / 323.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.005829, allocations: 126.2 kB / 323.4 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.006442, allocations: 0.6616 MB / 324.1 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.006655, allocations: 128.3 kB / 324.2 MB, free: 68 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.007098, allocations: 369.8 kB / 324.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.007443, allocations: 194.8 kB / 324.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.007527, allocations: 52.34 kB / 324.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.007633, allocations: 55 kB / 324.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.00776, allocations: 117.7 kB / 325 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.008025, allocations: 209.9 kB / 325.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.00881, allocations: 0.6663 MB / 325.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.008813, allocations: 0 / 325.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.008816, allocations: 6.188 kB / 325.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.008828, allocations: 0 / 325.9 MB, free: 15.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001491/0.01032, allocations: 0.7768 MB / 326.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.01035, allocations: 9.922 kB / 326.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.01048, allocations: 65.52 kB / 326.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000643/0.01112, allocations: 341.5 kB / 327.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.01128, allocations: 110.1 kB / 327.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/0.01134, allocations: 30.62 kB / 327.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.01236, allocations: 0.8265 MB / 328 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01238, allocations: 192 / 328 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.01243, allocations: 21.56 kB / 328 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.01244, allocations: 7.812 kB / 328.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.01305, allocations: 279.5 kB / 328.3 MB, free: 13.56 MB / 302.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.002057/0.01511, allocations: 0.9437 MB / 329.3 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.0163, allocations: 339.9 kB / 329.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.01659, allocations: 132.8 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.01662, allocations: 6.172 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.01666, allocations: 43.19 kB / 329.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.01666, allocations: 0 / 329.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001193/0.01786, allocations: 453.7 kB / 330.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002716/0.01813, allocations: 444.2 kB / 330.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.01863, allocations: 402.7 kB / 331 MB, free: 11.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.01869, allocations: 37.23 kB / 331.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.01889, allocations: 237.8 kB / 331.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.019, allocations: 116.7 kB / 331.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.01916, allocations: 75.3 kB / 331.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.01935, allocations: 357.4 kB / 331.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.01963, allocations: 131 kB / 332 MB, free: 11.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.02027, allocations: 0.6593 MB / 332.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.02082, allocations: 272.8 kB / 332.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02082, allocations: 0.7031 kB / 332.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008323/0.02165, allocations: 437.3 kB / 333.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.0217, allocations: 32.64 kB / 333.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.0217, allocations: 0.5156 kB / 333.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.0219, allocations: 59.7 kB / 333.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.02223, allocations: 64.3 kB / 333.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.02513, allocations: 2.716 MB / 336.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.02558, allocations: 37.86 kB / 336.2 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.02562, allocations: 17.95 kB / 336.3 MB, free: 7.262 MB / 302.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 (36): * Single equations (assignments): 33 * 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.0002583/0.02588, allocations: 171.1 kB / 336.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.02597, allocations: 47.69 kB / 336.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.02608, allocations: 48.31 kB / 336.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02609, allocations: 3.594 kB / 336.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.02609, allocations: 0.5156 kB / 336.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008414/0.02693, allocations: 0.6634 MB / 337.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.02829, allocations: 0.7446 MB / 337.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.02829, allocations: 1.469 kB / 337.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.02865, allocations: 68.25 kB / 338 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.02865, allocations: 1.375 kB / 338 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.02868, allocations: 9.359 kB / 338 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.02868, allocations: 1.375 kB / 338 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02869, allocations: 4 kB / 338 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.02958, allocations: 0.5121 MB / 338.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.02977, allocations: 85.06 kB / 338.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.02983, allocations: 7.312 kB / 338.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.03016, allocations: 16.08 kB / 338.6 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.03022, allocations: 18.81 kB / 338.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.03024, allocations: 7 kB / 338.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003358/0.03057, allocations: 285.1 kB / 338.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.03057, allocations: 64 / 338.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.03106, allocations: 147.7 kB / 339.1 MB, free: 5.211 MB / 302.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 (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.0001431/0.0312, allocations: 110.4 kB / 339.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009773/0.03218, allocations: 0.5738 MB / 339.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.03218, allocations: 1.375 kB / 339.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.03243, allocations: 120.6 kB / 339.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.03308, allocations: 122 kB / 340 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.03461, allocations: 0.8071 MB / 340.8 MB, free: 4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.03484, allocations: 213.1 kB / 341 MB, free: 3.863 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.03508, allocations: 64.66 kB / 341.1 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.03519, allocations: 37.41 kB / 341.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.03519, allocations: 0 / 341.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of Templates: time 0.01588/0.05108, allocations: 8.33 MB / 349.4 MB, free: 12.25 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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: 4.639625698328018]