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.000887/0.000887, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008535/0.0008535, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 18.57 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 0.8885/0.8885, allocations: 173.4 MB / 201.5 MB, free: 8.746 MB / 186.7 MB " [Timeout remaining time 179] 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.293e-06/1.293e-06, allocations: 0 / 268.4 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.452e-05, allocations: 10.25 kB / 268.4 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003004/0.003018, allocations: 3.472 MB / 271.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.004107, allocations: 0.9769 MB / 272.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.00424, allocations: 4 kB / 272.9 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.004479, allocations: 111 kB / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.004742, allocations: 198.3 kB / 273.2 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.004927, allocations: 123.7 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.005383, allocations: 0.6646 MB / 274 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.005554, allocations: 137.4 kB / 274.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.005818, allocations: 375.2 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.006023, allocations: 199.3 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.006077, allocations: 55.98 kB / 274.7 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.006128, allocations: 52 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.006197, allocations: 123.6 kB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.006336, allocations: 203.6 kB / 275.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.006927, allocations: 426.4 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.006931, allocations: 0 / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.006932, allocations: 0 / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.006945, allocations: 0 / 275.5 MB, free: 14.94 MB / 266.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.0008562/0.007801, allocations: 0.7462 MB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.007844, allocations: 12.91 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.007929, allocations: 72.88 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.008225, allocations: 263.9 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.034e-05/0.008306, allocations: 110.3 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.008348, allocations: 36.38 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.00878, allocations: 0.7418 MB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.008792, allocations: 192 / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.008817, allocations: 20.12 kB / 277.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.008824, allocations: 8 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.008967, allocations: 99.16 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.009928, allocations: 0.6712 MB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.01038, allocations: 218.6 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.01045, allocations: 56.77 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01048, allocations: 15.98 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.01051, allocations: 42.56 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.903e-06/0.01051, allocations: 3.938 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004145/0.01092, allocations: 247.2 kB / 278.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.01104, allocations: 445 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.01123, allocations: 331.4 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.01125, allocations: 37.69 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.01133, allocations: 197.4 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.01139, allocations: 122.9 kB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.285e-05/0.01148, allocations: 77.98 kB / 280.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.0116, allocations: 350.7 kB / 280.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.04e-05/0.01169, allocations: 62.34 kB / 280.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.01197, allocations: 0.5696 MB / 281 MB, free: 8.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.01216, allocations: 157.2 kB / 281.2 MB, free: 8.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.01217, allocations: 3.938 kB / 281.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003372/0.01251, allocations: 262.5 kB / 281.4 MB, free: 8.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.01254, allocations: 40.67 kB / 281.5 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01254, allocations: 4.031 kB / 281.5 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/0.01265, allocations: 29.7 kB / 281.5 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.01288, allocations: 75.88 kB / 281.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.01456, allocations: 2.399 MB / 284 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.01477, allocations: 39.77 kB / 284 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.01479, allocations: 8.188 kB / 284 MB, free: 5.629 MB / 266.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.0001313/0.01493, allocations: 133.8 kB / 284.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.015, allocations: 43.94 kB / 284.2 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.01506, allocations: 52.38 kB / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01507, allocations: 7.938 kB / 284.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.01507, allocations: 0 / 284.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003378/0.01541, allocations: 0.5253 MB / 284.8 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.01611, allocations: 0.4905 MB / 285.3 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01611, allocations: 0 / 285.3 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.01636, allocations: 67.89 kB / 285.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.01636, allocations: 11.94 kB / 285.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.01638, allocations: 4 kB / 285.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01638, allocations: 0 / 285.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01638, allocations: 4 kB / 285.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.01674, allocations: 312.8 kB / 285.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.01685, allocations: 51.64 kB / 285.7 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.0169, allocations: 15.88 kB / 285.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.01709, allocations: 15.98 kB / 285.8 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.01714, allocations: 15.97 kB / 285.8 MB, free: 3.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.01715, allocations: 8 kB / 285.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.0173, allocations: 148.7 kB / 285.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0173, allocations: 0 / 285.9 MB, free: 3.574 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.0177, allocations: 135.8 kB / 286.1 MB, free: 3.441 MB / 266.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 0.0001168/0.01782, allocations: 88.36 kB / 286.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.01834, allocations: 478 kB / 286.6 MB, free: 2.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/0.01835, allocations: 4 kB / 286.6 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01846, allocations: 85.27 kB / 286.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.01891, allocations: 121.4 kB / 286.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.02041, allocations: 0.7856 MB / 287.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.781e-05/0.0205, allocations: 109.9 kB / 287.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.0207, allocations: 55.38 kB / 287.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.02111, allocations: 225.2 kB / 288 MB, free: 1.406 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02111, allocations: 0 / 288 MB, free: 1.406 MB / 266.7 MB Notification: Performance of Templates: time 0.1053/0.1265, allocations: 8.983 MB / 297 MB, free: 28.79 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.737259730231017]