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.001888/0.001888, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.001966/0.001966, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 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 1.58/1.58, allocations: 177 MB / 204.5 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.493e-06/1.493e-06, allocations: 0 / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.108e-05, allocations: 6.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005309/0.00534, allocations: 3.488 MB / 275.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.007133, allocations: 0.9656 MB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.007321, allocations: 7.938 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.007646, allocations: 99.14 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.008064, allocations: 206.2 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.008348, allocations: 123.7 kB / 277.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008156/0.009164, allocations: 0.6572 MB / 277.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.00944, allocations: 131.5 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007111/0.01015, allocations: 375.1 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003512/0.0105, allocations: 199.5 kB / 278.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.0106, allocations: 56 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.01071, allocations: 52 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.01085, allocations: 119.6 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.01112, allocations: 207.5 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.01196, allocations: 0.6698 MB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01196, allocations: 0 / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01196, allocations: 0 / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.01197, allocations: 0 / 279.5 MB, free: 10.47 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.001623/0.01359, allocations: 0.9097 MB / 280.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.01363, allocations: 19.92 kB / 280.4 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.0138, allocations: 88.56 kB / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.01442, allocations: 347.2 kB / 280.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.01456, allocations: 114.3 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.682e-05/0.01464, allocations: 40.38 kB / 281 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.01574, allocations: 0.8753 MB / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01575, allocations: 192 / 281.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.0158, allocations: 20.12 kB / 281.9 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.01581, allocations: 8 kB / 281.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.01644, allocations: 266.5 kB / 282.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.01866, allocations: 1.108 MB / 283.3 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.01988, allocations: 359.8 kB / 283.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.02016, allocations: 127.6 kB / 283.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.0202, allocations: 12 kB / 283.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.02024, allocations: 45.38 kB / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.02025, allocations: 0 / 283.8 MB, free: 5.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001198/0.02144, allocations: 456.6 kB / 284.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003045/0.02175, allocations: 445 kB / 284.7 MB, free: 4.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/0.02262, allocations: 0.5143 MB / 285.2 MB, free: 4.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.02266, allocations: 37.7 kB / 285.2 MB, free: 4.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.02292, allocations: 307.2 kB / 285.5 MB, free: 3.957 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.02306, allocations: 127 kB / 285.7 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.02322, allocations: 83.67 kB / 285.8 MB, free: 3.738 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003198/0.02354, allocations: 0.5508 MB / 286.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.0238, allocations: 126.3 kB / 286.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.02452, allocations: 0.7064 MB / 287.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.02508, allocations: 298.8 kB / 287.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.02508, allocations: 0 / 287.4 MB, free: 1.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008144/0.0259, allocations: 452 kB / 287.9 MB, free: 1.398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.02594, allocations: 41.62 kB / 287.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.02594, allocations: 0 / 287.9 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/0.02614, allocations: 55.36 kB / 288 MB, free: 1.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.02647, allocations: 67.89 kB / 288 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.02995, allocations: 3.757 MB / 291.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/0.0303, allocations: 35.77 kB / 291.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.03033, allocations: 12 kB / 291.8 MB, free: 13.17 MB / 282.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.0004791/0.03081, allocations: 220.5 kB / 292 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.03093, allocations: 55.72 kB / 292.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.03103, allocations: 48.38 kB / 292.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.03103, allocations: 0 / 292.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.03104, allocations: 4 kB / 292.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008129/0.03185, allocations: 0.6464 MB / 292.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.03333, allocations: 0.8719 MB / 293.7 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.03334, allocations: 4 kB / 293.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.03369, allocations: 67.89 kB / 293.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.03369, allocations: 0 / 293.7 MB, free: 11.1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.03372, allocations: 8 kB / 293.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.03372, allocations: 0 / 293.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.03372, allocations: 0 / 293.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.03467, allocations: 0.5679 MB / 294.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.03486, allocations: 91.55 kB / 294.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.123e-05/0.03492, allocations: 8 kB / 294.4 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.03523, allocations: 16.02 kB / 294.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.03529, allocations: 23.95 kB / 294.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.03531, allocations: 8 kB / 294.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003985/0.0357, allocations: 351.1 kB / 294.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0357, allocations: 0 / 294.8 MB, free: 10.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.03615, allocations: 135.8 kB / 294.9 MB, free: 9.879 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 0.0001464/0.0363, allocations: 115.2 kB / 295 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.03738, allocations: 0.7026 MB / 295.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.03739, allocations: 0 / 295.8 MB, free: 8.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.03765, allocations: 140 kB / 295.9 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006489/0.0383, allocations: 133.4 kB / 296 MB, free: 8.727 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.03989, allocations: 0.8273 MB / 296.8 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.04012, allocations: 220.3 kB / 297.1 MB, free: 7.633 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.04033, allocations: 59.36 kB / 297.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.04044, allocations: 36.5 kB / 297.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.04044, allocations: 0 / 297.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of Templates: time 0.1083/0.1488, allocations: 8.385 MB / 305.5 MB, free: 41.87 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.763573860982433]