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.0009661/0.0009661, allocations: 84.98 kB / 23 MB, free: 1.5 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.001018/0.001018, allocations: 177.5 kB / 26.4 MB, free: 7.992 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.985/0.985, allocations: 158.6 MB / 188.3 MB, free: 2.801 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.733e-06/1.733e-06, allocations: 3.938 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.647e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004416/0.004442, allocations: 3.471 MB / 255.7 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.005981, allocations: 0.9666 MB / 256.7 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.006289, allocations: 11.94 kB / 256.7 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.006589, allocations: 99.12 kB / 256.8 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.006921, allocations: 210.2 kB / 257 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.007161, allocations: 123.8 kB / 257.1 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.007727, allocations: 0.6572 MB / 257.8 MB, free: 1.691 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.007911, allocations: 123.5 kB / 257.9 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.008176, allocations: 375.2 kB / 258.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.008387, allocations: 199.5 kB / 258.5 MB, free: 1 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.008442, allocations: 52 kB / 258.5 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-05/0.008493, allocations: 52 kB / 258.6 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.008563, allocations: 127.5 kB / 258.7 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.008703, allocations: 199.6 kB / 258.9 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.009032, allocations: 426.5 kB / 259.3 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.009035, allocations: 0 / 259.3 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009036, allocations: 3.938 kB / 259.3 MB, free: 160 kB / 234.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.009041, allocations: 0 / 259.3 MB, free: 160 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.000862/0.009903, allocations: 0.8943 MB / 260.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.009937, allocations: 11.98 kB / 260.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.01003, allocations: 88.56 kB / 260.3 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.01036, allocations: 318.6 kB / 260.6 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.01045, allocations: 110.3 kB / 260.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.0105, allocations: 40.38 kB / 260.7 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.01095, allocations: 0.7822 MB / 261.5 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.01097, allocations: 4.125 kB / 261.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.01099, allocations: 16.12 kB / 261.6 MB, free: 13.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.011, allocations: 8 kB / 261.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.01116, allocations: 123.1 kB / 261.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.01219, allocations: 0.9049 MB / 262.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.01295, allocations: 243.8 kB / 262.8 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/0.01302, allocations: 63.66 kB / 262.9 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.01304, allocations: 4 kB / 262.9 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.01307, allocations: 45.33 kB / 262.9 MB, free: 12.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.01307, allocations: 0 / 262.9 MB, free: 12.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004433/0.01351, allocations: 308.6 kB / 263.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.01363, allocations: 444.9 kB / 263.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.01388, allocations: 422.5 kB / 264.1 MB, free: 10.92 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.0139, allocations: 33.7 kB / 264.1 MB, free: 10.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01402, allocations: 291.2 kB / 264.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.01408, allocations: 126.9 kB / 264.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.01416, allocations: 83.64 kB / 264.6 MB, free: 10.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01428, allocations: 0.5273 MB / 265.1 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.01436, allocations: 70.31 kB / 265.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.0146, allocations: 0.6167 MB / 265.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01475, allocations: 178.7 kB / 266 MB, free: 8.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.01476, allocations: 0 / 266 MB, free: 8.785 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002831/0.01504, allocations: 320 kB / 266.3 MB, free: 8.445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.01506, allocations: 41.58 kB / 266.3 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.01507, allocations: 3.984 kB / 266.3 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-05/0.01516, allocations: 43.36 kB / 266.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.01532, allocations: 63.89 kB / 266.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.01702, allocations: 3.536 MB / 270 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.01718, allocations: 39.77 kB / 270 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.01719, allocations: 11.94 kB / 270 MB, free: 4.461 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.0001056/0.0173, allocations: 176.6 kB / 270.2 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.01736, allocations: 55.72 kB / 270.3 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.01741, allocations: 56.25 kB / 270.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01741, allocations: 4 kB / 270.3 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01741, allocations: 0 / 270.3 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002669/0.01768, allocations: 0.5527 MB / 270.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.01824, allocations: 0.6422 MB / 271.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01824, allocations: 3.938 kB / 271.5 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.01841, allocations: 67.89 kB / 271.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01841, allocations: 7.984 kB / 271.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.01842, allocations: 4 kB / 271.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.01843, allocations: 4 kB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01843, allocations: 0 / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.01891, allocations: 409 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.01906, allocations: 91.47 kB / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.01912, allocations: 8 kB / 272.1 MB, free: 2.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.01937, allocations: 15.98 kB / 272.1 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.01942, allocations: 15.97 kB / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.01943, allocations: 7.984 kB / 272.1 MB, free: 2.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.01965, allocations: 274.9 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01965, allocations: 0 / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.0201, allocations: 139.8 kB / 272.5 MB, free: 1.785 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.0001295/0.02023, allocations: 99.28 kB / 272.6 MB, free: 1.676 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006604/0.02089, allocations: 0.6005 MB / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.0209, allocations: 0 / 273.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.02103, allocations: 87.48 kB / 273.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.02159, allocations: 133.4 kB / 273.5 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.02298, allocations: 0.7796 MB / 274.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.772e-05/0.02306, allocations: 113.8 kB / 274.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.02323, allocations: 59.38 kB / 274.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.02363, allocations: 254 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02363, allocations: 4 kB / 274.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Templates: time 0.01209/0.03572, allocations: 9.151 MB / 283.8 MB, free: 6.438 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.933285209815949]