Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.0008739/0.0008739, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001244/0.001244, allocations: 158.3 kB / 25.45 MB, free: 9.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8614/0.8614, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.67e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002976/0.002993, allocations: 3.194 MB / 302.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.003917, allocations: 0.9471 MB / 303.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.004037, allocations: 7.938 kB / 303.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.004249, allocations: 103.1 kB / 303.9 MB, free: 2.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.004479, allocations: 202.2 kB / 304.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.004643, allocations: 127.7 kB / 304.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.005059, allocations: 0.6611 MB / 304.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.005224, allocations: 123.5 kB / 305 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.005451, allocations: 375.2 kB / 305.4 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.00564, allocations: 191.5 kB / 305.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.00569, allocations: 52 kB / 305.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.00574, allocations: 60 kB / 305.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.005802, allocations: 119.6 kB / 305.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.005935, allocations: 211.5 kB / 306 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.006349, allocations: 0.662 MB / 306.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006351, allocations: 0 / 306.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006352, allocations: 0 / 306.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.006357, allocations: 0 / 306.7 MB, free: 15.88 MB / 298.7 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.0007753/0.007132, allocations: 0.7788 MB / 307.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.007162, allocations: 15.92 kB / 307.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.007231, allocations: 64.56 kB / 307.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.007589, allocations: 332.4 kB / 307.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.083e-05/0.00767, allocations: 114.3 kB / 308 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.007707, allocations: 40.27 kB / 308 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.008212, allocations: 0.8272 MB / 308.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.008223, allocations: 192 / 308.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.008247, allocations: 16.12 kB / 308.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.008254, allocations: 8 kB / 308.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/0.00858, allocations: 282.4 kB / 309.1 MB, free: 13.2 MB / 298.7 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.001108/0.009688, allocations: 0.9559 MB / 310.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.01029, allocations: 339.4 kB / 310.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.01043, allocations: 116.8 kB / 310.5 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01046, allocations: 15.98 kB / 310.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.01048, allocations: 42.56 kB / 310.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.01048, allocations: 0 / 310.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006173/0.0111, allocations: 447.7 kB / 311 MB, free: 11.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.01122, allocations: 448.9 kB / 311.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.01149, allocations: 393.7 kB / 311.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.01151, allocations: 37.7 kB / 311.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01162, allocations: 244.4 kB / 312.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.01167, allocations: 123 kB / 312.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.01175, allocations: 70.02 kB / 312.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.01183, allocations: 354.7 kB / 312.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.01198, allocations: 134.3 kB / 312.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.01228, allocations: 0.6517 MB / 313.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.01257, allocations: 277.2 kB / 313.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01257, allocations: 4 kB / 313.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004139/0.01298, allocations: 442.3 kB / 314.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.013, allocations: 29.7 kB / 314.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.01301, allocations: 3.984 kB / 314.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001072/0.01312, allocations: 49.7 kB / 314.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.01327, allocations: 67.89 kB / 314.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.01462, allocations: 2.7 MB / 317 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.01478, allocations: 35.81 kB / 317 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01479, allocations: 19.98 kB / 317.1 MB, free: 4.648 MB / 298.7 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.0001247/0.01492, allocations: 165.8 kB / 317.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.01496, allocations: 51.72 kB / 317.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.01501, allocations: 44.38 kB / 317.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01501, allocations: 4.094 kB / 317.3 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01501, allocations: 3.938 kB / 317.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003936/0.01541, allocations: 0.6495 MB / 318 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.0161, allocations: 0.7512 MB / 318.7 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.0161, allocations: 4 kB / 318.7 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.01627, allocations: 75.89 kB / 318.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01627, allocations: 0 / 318.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.01628, allocations: 8 kB / 318.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01628, allocations: 4 kB / 318.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01628, allocations: 0 / 318.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.01676, allocations: 0.5167 MB / 319.3 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.01686, allocations: 83.64 kB / 319.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01689, allocations: 8.234 kB / 319.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.01702, allocations: 20.05 kB / 319.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.01705, allocations: 19.95 kB / 319.5 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01706, allocations: 11.98 kB / 319.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.01725, allocations: 283.2 kB / 319.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01725, allocations: 0 / 319.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.0175, allocations: 147.7 kB / 319.9 MB, free: 1.645 MB / 298.7 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 7.108e-05/0.01757, allocations: 103.5 kB / 320 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.0181, allocations: 0.5763 MB / 320.6 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0181, allocations: 0 / 320.6 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.01824, allocations: 119.8 kB / 320.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01858, allocations: 121.4 kB / 320.8 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008852/0.01947, allocations: 0.8368 MB / 321.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.01959, allocations: 224.1 kB / 321.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/0.01967, allocations: 40.48 kB / 321.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01967, allocations: 0 / 321.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of Templates: time 0.005959/0.02563, allocations: 8.256 MB / 330.2 MB, free: 7.277 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.909633902832866]