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.001016/0.001016, allocations: 79.73 kB / 21.97 MB, free: 2.609 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.001021/0.001021, allocations: 169.8 kB / 25.33 MB, free: 9.426 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.9161/0.9161, allocations: 158.6 MB / 187.2 MB, free: 2.938 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 2.375e-06/2.375e-06, allocations: 0 / 251 MB, free: 7.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.473e-05, allocations: 2.312 kB / 251 MB, free: 7.633 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005197/0.005232, allocations: 3.514 MB / 254.5 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002069/0.007301, allocations: 0.9744 MB / 255.5 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.00758, allocations: 7.938 kB / 255.5 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.007942, allocations: 111.1 kB / 255.6 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.008419, allocations: 194.2 kB / 255.8 MB, free: 2.805 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.008761, allocations: 131.7 kB / 256 MB, free: 2.676 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008728/0.009634, allocations: 0.6572 MB / 256.6 MB, free: 2.016 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.009911, allocations: 115.5 kB / 256.7 MB, free: 1.895 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.01058, allocations: 383.1 kB / 257.1 MB, free: 1.516 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.01093, allocations: 195.5 kB / 257.3 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.464e-05/0.01101, allocations: 52 kB / 257.3 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.0111, allocations: 52 kB / 257.4 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.0112, allocations: 119.6 kB / 257.5 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.01144, allocations: 215.5 kB / 257.7 MB, free: 0.8945 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.01201, allocations: 430.5 kB / 258.1 MB, free: 484 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.01202, allocations: 0 / 258.1 MB, free: 484 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01202, allocations: 0 / 258.1 MB, free: 484 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.01203, allocations: 0 / 258.1 MB, free: 484 kB / 234.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.001334/0.01337, allocations: 0.8749 MB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.01341, allocations: 11.98 kB / 259 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.01357, allocations: 92.56 kB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.01409, allocations: 326.6 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.01422, allocations: 106.3 kB / 259.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.166e-05/0.01429, allocations: 40.38 kB / 259.6 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.01507, allocations: 0.8017 MB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.01508, allocations: 4.188 kB / 260.4 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.01537, allocations: 20.06 kB / 260.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01539, allocations: 8 kB / 260.4 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.01577, allocations: 159.8 kB / 260.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.01758, allocations: 0.9707 MB / 261.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.01849, allocations: 267.8 kB / 261.8 MB, free: 12.5 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.01866, allocations: 75.64 kB / 261.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.0187, allocations: 8 kB / 261.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.01873, allocations: 45.39 kB / 261.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.01873, allocations: 0 / 261.9 MB, free: 12.36 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008358/0.01957, allocations: 336.6 kB / 262.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.01973, allocations: 452.9 kB / 262.7 MB, free: 11.47 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.02018, allocations: 426.7 kB / 263.1 MB, free: 11.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.02021, allocations: 33.7 kB / 263.1 MB, free: 11 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.0204, allocations: 295.2 kB / 263.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.02048, allocations: 115 kB / 263.5 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.02061, allocations: 79.69 kB / 263.6 MB, free: 10.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.02078, allocations: 0.5312 MB / 264.2 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.02095, allocations: 82.33 kB / 264.2 MB, free: 9.875 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.02135, allocations: 0.6245 MB / 264.9 MB, free: 9.082 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.02167, allocations: 198.8 kB / 265.1 MB, free: 8.875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.02167, allocations: 4 kB / 265.1 MB, free: 8.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005691/0.02224, allocations: 359.9 kB / 265.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.02228, allocations: 29.7 kB / 265.4 MB, free: 8.457 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.02229, allocations: 8 kB / 265.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.02244, allocations: 43.36 kB / 265.5 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.02272, allocations: 63.89 kB / 265.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.02555, allocations: 3.581 MB / 269.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.02582, allocations: 35.91 kB / 269.2 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.02585, allocations: 15.98 kB / 269.2 MB, free: 4.453 MB / 250.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.0001685/0.02602, allocations: 184.5 kB / 269.4 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.02611, allocations: 59.66 kB / 269.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.02618, allocations: 44.38 kB / 269.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.02618, allocations: 4 kB / 269.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.02618, allocations: 0 / 269.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004621/0.02665, allocations: 0.5683 MB / 270 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.0277, allocations: 0.7313 MB / 270.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.0277, allocations: 0 / 270.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/0.02799, allocations: 63.91 kB / 270.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.02799, allocations: 3.984 kB / 270.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.02802, allocations: 8 kB / 270.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02802, allocations: 0 / 270.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02802, allocations: 4 kB / 270.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.02859, allocations: 448.9 kB / 271.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.02875, allocations: 79.61 kB / 271.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.02881, allocations: 11.98 kB / 271.4 MB, free: 2.082 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.02906, allocations: 16 kB / 271.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.02911, allocations: 15.95 kB / 271.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.02913, allocations: 12 kB / 271.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.02942, allocations: 287.1 kB / 271.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02942, allocations: 0 / 271.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004852/0.0299, allocations: 143.7 kB / 271.8 MB, free: 1.621 MB / 250.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.0001351/0.03004, allocations: 111.2 kB / 271.9 MB, free: 1.5 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000797/0.03083, allocations: 0.6084 MB / 272.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.03084, allocations: 0 / 272.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.03101, allocations: 95.5 kB / 272.6 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.03163, allocations: 125.5 kB / 272.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.03348, allocations: 0.7991 MB / 273.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.416e-05/0.03357, allocations: 109.9 kB / 273.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.03379, allocations: 55.38 kB / 273.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.0339, allocations: 40.5 kB / 273.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.0339, allocations: 0 / 273.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Templates: time 0.01528/0.04918, allocations: 8.843 MB / 282.6 MB, free: 6.758 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] 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","",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.887455999851227]