Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001314/0.001314, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001599/0.001599, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.92 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2197, allocations: 53.36 MB / 431.6 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004645/0.2244, allocations: 3.224 MB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.226, allocations: 0.9268 MB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.2262, allocations: 7.938 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.2265, allocations: 103.1 kB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.2269, allocations: 190.4 kB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.2271, allocations: 123.8 kB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007317/0.2279, allocations: 0.638 MB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.2281, allocations: 131.5 kB / 436.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.2284, allocations: 251.1 kB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.2288, allocations: 278.8 kB / 437.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.2289, allocations: 52 kB / 437.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.229, allocations: 56 kB / 437.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2291, allocations: 119.6 kB / 437.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.2294, allocations: 243 kB / 437.9 MB, free: 420 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.2301, allocations: 0.656 MB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2301, allocations: 4 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2301, allocations: 0 / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2301, allocations: 0 / 438.5 MB, free: 15.75 MB / 350.1 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.001517/0.2316, allocations: 0.7788 MB / 439.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2316, allocations: 12.03 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.2318, allocations: 64.56 kB / 439.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.2324, allocations: 333.1 kB / 439.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.2325, allocations: 110.3 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.2326, allocations: 36.38 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.2336, allocations: 0.8306 MB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.2336, allocations: 4 kB / 440.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.2336, allocations: 16 kB / 440.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.2336, allocations: 12 kB / 440.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.2343, allocations: 274.5 kB / 441 MB, free: 13.07 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.2363, allocations: 0.9556 MB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.2375, allocations: 339.3 kB / 442.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.2378, allocations: 127.8 kB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.2378, allocations: 4 kB / 442.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.2378, allocations: 38.56 kB / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.2378, allocations: 0 / 442.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.0012/0.239, allocations: 452.3 kB / 442.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002443/0.2393, allocations: 448.9 kB / 443.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.2398, allocations: 405.6 kB / 443.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.2398, allocations: 33.7 kB / 443.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.24, allocations: 244.4 kB / 444 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.2401, allocations: 115 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.2403, allocations: 78.02 kB / 444.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2404, allocations: 354.7 kB / 444.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.2407, allocations: 130.3 kB / 444.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.2413, allocations: 0.6595 MB / 445.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.2419, allocations: 281.2 kB / 445.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.2419, allocations: 0 / 445.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008197/0.2427, allocations: 442.3 kB / 446 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.2427, allocations: 33.7 kB / 446 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2428, allocations: 3.984 kB / 446 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.2429, allocations: 49.69 kB / 446.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.2433, allocations: 71.89 kB / 446.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/0.246, allocations: 2.689 MB / 448.9 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.2464, allocations: 40.05 kB / 448.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2465, allocations: 19.92 kB / 448.9 MB, free: 4.512 MB / 350.1 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.0002902/0.2468, allocations: 163.8 kB / 449.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.2468, allocations: 51.7 kB / 449.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.2469, allocations: 48.38 kB / 449.2 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2469, allocations: 15.94 kB / 449.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2469, allocations: 0 / 449.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007548/0.2477, allocations: 0.6495 MB / 449.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.249, allocations: 0.755 MB / 450.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.249, allocations: 0 / 450.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.2494, allocations: 67.98 kB / 450.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2494, allocations: 7.938 kB / 450.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.2494, allocations: 8 kB / 450.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2494, allocations: 0 / 450.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2494, allocations: 3.938 kB / 450.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.2504, allocations: 0.5137 MB / 451.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.2506, allocations: 79.64 kB / 451.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.2506, allocations: 8 kB / 451.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.251, allocations: 23.92 kB / 451.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.251, allocations: 23.95 kB / 451.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.251, allocations: 12 kB / 451.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.2514, allocations: 283.2 kB / 451.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2514, allocations: 0 / 451.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.2518, allocations: 135.8 kB / 451.7 MB, free: 1.516 MB / 350.1 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.000128/0.252, allocations: 107.2 kB / 451.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00099/0.2529, allocations: 0.5802 MB / 452.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.2529, allocations: 0 / 452.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2532, allocations: 115.9 kB / 452.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.2538, allocations: 121.4 kB / 452.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2555, allocations: 0.8875 MB / 453.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.2557, allocations: 216.4 kB / 453.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.2559, allocations: 51.38 kB / 453.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.256, allocations: 47.42 kB / 453.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.256, allocations: 0 / 453.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.0161/0.2721, allocations: 9.144 MB / 463 MB, free: 6.379 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.8245049910619855]