Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002559, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002447, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.915/0.915, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07932/0.9943, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.456e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003012/0.003027, allocations: 3.545 MB / 248.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.00434, allocations: 1.004 MB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.0045, allocations: 7.938 kB / 249.6 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.004685, allocations: 107.1 kB / 249.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.00493, allocations: 198.2 kB / 249.9 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.005117, allocations: 119.8 kB / 250 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005163/0.005633, allocations: 0.6728 MB / 250.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.00581, allocations: 141.4 kB / 250.8 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.006191, allocations: 444.2 kB / 251.2 MB, free: 7.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.006397, allocations: 199.5 kB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.006452, allocations: 52 kB / 251.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.006516, allocations: 52 kB / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.006571, allocations: 87.69 kB / 251.6 MB, free: 7.023 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.006699, allocations: 171.7 kB / 251.8 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.007011, allocations: 398.5 kB / 252.2 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.007022, allocations: 0 / 252.2 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.007022, allocations: 4 kB / 252.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.007036, allocations: 0 / 252.2 MB, free: 6.461 MB / 250.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.0008138/0.007849, allocations: 0.8591 MB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.007877, allocations: 8.625 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.00795, allocations: 72.88 kB / 253.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.008224, allocations: 263.8 kB / 253.4 MB, free: 5.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.0083, allocations: 110.3 kB / 253.5 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.008338, allocations: 36.38 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.008751, allocations: 0.7341 MB / 254.2 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.008762, allocations: 4.172 kB / 254.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.008786, allocations: 24.12 kB / 254.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.008793, allocations: 8 kB / 254.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.008933, allocations: 107.1 kB / 254.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009021/0.009835, allocations: 0.6596 MB / 255 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.01029, allocations: 233.7 kB / 255.3 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.01035, allocations: 68.72 kB / 255.3 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.01038, allocations: 12 kB / 255.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.0104, allocations: 42.5 kB / 255.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.01041, allocations: 0 / 255.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003646/0.01077, allocations: 236 kB / 255.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.01079, allocations: 63.39 kB / 255.7 MB, free: 2.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.01098, allocations: 343.3 kB / 256 MB, free: 2.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.011, allocations: 37.64 kB / 256 MB, free: 2.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.01108, allocations: 197.4 kB / 256.2 MB, free: 2.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.01113, allocations: 115 kB / 256.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.0112, allocations: 77.95 kB / 256.4 MB, free: 1.867 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.01129, allocations: 354.7 kB / 256.8 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.85e-05/0.01135, allocations: 62.34 kB / 256.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.01156, allocations: 0.5696 MB / 257.4 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.01169, allocations: 161.2 kB / 257.6 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01169, allocations: 3.938 kB / 257.6 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002129/0.01191, allocations: 262.6 kB / 257.8 MB, free: 280 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.01194, allocations: 33.7 kB / 257.9 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01194, allocations: 0 / 257.9 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.896e-05/0.01202, allocations: 37.69 kB / 257.9 MB, free: 196 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.01223, allocations: 87.89 kB / 258 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.01334, allocations: 2.404 MB / 260.4 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.01349, allocations: 43.89 kB / 260.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.0135, allocations: 12 kB / 260.4 MB, free: 13.48 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 8.773e-05/0.01359, allocations: 125.8 kB / 260.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.01363, allocations: 43.95 kB / 260.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.636e-05/0.0137, allocations: 48.31 kB / 260.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.0137, allocations: 4 kB / 260.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.0137, allocations: 0 / 260.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002227/0.01392, allocations: 0.5245 MB / 261.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005174/0.01444, allocations: 0.4902 MB / 261.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01445, allocations: 7.922 kB / 261.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.01465, allocations: 87.88 kB / 261.8 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.01472, allocations: 47.59 kB / 261.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01472, allocations: 7.984 kB / 261.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01474, allocations: 4 kB / 261.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01474, allocations: 8 kB / 261.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01474, allocations: 0 / 261.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.01497, allocations: 313.3 kB / 262.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.015, allocations: 8 kB / 262.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.01512, allocations: 19.98 kB / 262.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.01514, allocations: 15.97 kB / 262.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.01515, allocations: 8 kB / 262.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.01524, allocations: 148.6 kB / 262.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01524, allocations: 0 / 262.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000248/0.01549, allocations: 135.8 kB / 262.5 MB, free: 11.29 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 7.402e-05/0.01556, allocations: 92.39 kB / 262.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.01591, allocations: 482.3 kB / 263 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/0.01593, allocations: 7.984 kB / 263 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.55e-05/0.01599, allocations: 76.7 kB / 263.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.0164, allocations: 173.4 kB / 263.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.02193, allocations: 0.7823 MB / 264.1 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.02199, allocations: 109.9 kB / 264.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.02213, allocations: 55.39 kB / 264.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.02242, allocations: 221.2 kB / 264.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02242, allocations: 0 / 264.4 MB, free: 9.199 MB / 266.7 MB Notification: Performance of Templates: time 0.01058/0.033, allocations: 9.975 MB / 274.4 MB, free: 15.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.679304680787027]