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.0009186/0.0009186, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009424/0.0009424, allocations: 165.2 kB / 25.61 MB, free: 8.902 MB / 18.57 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.8903/0.8903, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.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.232e-06/1.232e-06, allocations: 0 / 274.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.061e-05, allocations: 2.312 kB / 274.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003694/0.003714, allocations: 3.484 MB / 277.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.004999, allocations: 0.955 MB / 278.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.005163, allocations: 7.938 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.005424, allocations: 103.1 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.005739, allocations: 202.2 kB / 278.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.005946, allocations: 127.7 kB / 279 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.006497, allocations: 0.6572 MB / 279.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.006693, allocations: 131.5 kB / 279.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.006999, allocations: 375.2 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.007244, allocations: 195.5 kB / 280.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.00731, allocations: 56 kB / 280.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.701e-05/0.007377, allocations: 55.94 kB / 280.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.007459, allocations: 115.6 kB / 280.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.007633, allocations: 207.6 kB / 280.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.008039, allocations: 430.4 kB / 281.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.008041, allocations: 0 / 281.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.008042, allocations: 3.984 kB / 281.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.008047, allocations: 0 / 281.2 MB, free: 13.23 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.0009485/0.008995, allocations: 0.8826 MB / 282 MB, free: 12.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.009026, allocations: 8.031 kB / 282.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.009139, allocations: 92.56 kB / 282.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.009508, allocations: 330.6 kB / 282.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.573e-05/0.009594, allocations: 106.3 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.009649, allocations: 40.38 kB / 282.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.01019, allocations: 0.7744 MB / 283.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.01021, allocations: 192 / 283.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.01024, allocations: 24.12 kB / 283.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.01025, allocations: 8 kB / 283.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.01046, allocations: 119.1 kB / 283.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.01174, allocations: 0.9048 MB / 284.4 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.01236, allocations: 261.5 kB / 284.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.01246, allocations: 67.62 kB / 284.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.01249, allocations: 12 kB / 284.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.01251, allocations: 45.39 kB / 284.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.01251, allocations: 0 / 284.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005346/0.01305, allocations: 296.6 kB / 285.1 MB, free: 8.953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.01319, allocations: 445 kB / 285.5 MB, free: 8.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.01349, allocations: 418.5 kB / 285.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.01352, allocations: 33.7 kB / 286 MB, free: 7.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.01368, allocations: 307.1 kB / 286.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.01375, allocations: 122.9 kB / 286.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01386, allocations: 83.59 kB / 286.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.01402, allocations: 0.5312 MB / 287 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.01411, allocations: 70.33 kB / 287.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.01444, allocations: 0.6166 MB / 287.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.01464, allocations: 174.8 kB / 287.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01464, allocations: 0 / 287.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003695/0.01501, allocations: 324 kB / 288.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.01504, allocations: 33.7 kB / 288.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01504, allocations: 4.031 kB / 288.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.947e-05/0.01514, allocations: 47.33 kB / 288.3 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.01535, allocations: 67.91 kB / 288.3 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.01719, allocations: 3.524 MB / 291.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.0174, allocations: 39.77 kB / 291.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.01742, allocations: 8 kB / 291.9 MB, free: 1.531 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.0001277/0.01755, allocations: 180.5 kB / 292.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.01762, allocations: 55.72 kB / 292.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.01768, allocations: 60.3 kB / 292.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01768, allocations: 0 / 292.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.01769, allocations: 4 kB / 292.2 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003257/0.01801, allocations: 0.5487 MB / 292.7 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.01873, allocations: 0.646 MB / 293.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01873, allocations: 7.875 kB / 293.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.01895, allocations: 63.97 kB / 293.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01895, allocations: 7.984 kB / 293.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.01897, allocations: 8 kB / 293.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01897, allocations: 0 / 293.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01897, allocations: 4 kB / 293.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.01957, allocations: 401 kB / 293.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.01969, allocations: 87.55 kB / 294 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.01974, allocations: 8 kB / 294 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.01993, allocations: 15.98 kB / 294 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.01997, allocations: 19.95 kB / 294 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01998, allocations: 12 kB / 294 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.02015, allocations: 271 kB / 294.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02015, allocations: 3.938 kB / 294.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.02051, allocations: 135.8 kB / 294.4 MB, free: 14.85 MB / 282.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 9.516e-05/0.0206, allocations: 114.7 kB / 294.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004918/0.02109, allocations: 0.5892 MB / 295.1 MB, free: 14.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0211, allocations: 0 / 295.1 MB, free: 14.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.0212, allocations: 88.09 kB / 295.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.02167, allocations: 128.9 kB / 295.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02294, allocations: 0.7961 MB / 296.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.02301, allocations: 109.9 kB / 296.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001704/0.02318, allocations: 55.38 kB / 296.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.02356, allocations: 262 kB / 296.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02356, allocations: 0 / 296.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of Templates: time 0.01226/0.03582, allocations: 9.151 MB / 305.7 MB, free: 3.68 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 -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.865148366894573]