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.001255/0.001255, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 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.0014/0.0014, allocations: 210.9 kB / 22.99 MB, free: 5.609 MB / 14.72 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.409/1.409, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 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 0.001888/0.001888, allocations: 71.86 kB / 376.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2363, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005015/0.2413, allocations: 3.539 MB / 433.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.2431, allocations: 0.9852 MB / 434.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2432, allocations: 7.938 kB / 434.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.2435, allocations: 107.1 kB / 434.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.2439, allocations: 186.4 kB / 434.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.2442, allocations: 123.8 kB / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007208/0.2449, allocations: 0.6419 MB / 435.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.2451, allocations: 134.7 kB / 435.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.2454, allocations: 235.1 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.2457, allocations: 278.8 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.925e-05/0.2458, allocations: 52 kB / 436.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.2459, allocations: 56 kB / 436.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.246, allocations: 115.5 kB / 436.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.2463, allocations: 294.6 kB / 436.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.247, allocations: 0.6473 MB / 437.2 MB, free: 156 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.247, allocations: 0 / 437.2 MB, free: 156 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.247, allocations: 3.938 kB / 437.2 MB, free: 152 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.247, allocations: 4 kB / 437.2 MB, free: 148 kB / 334.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.001471/0.2485, allocations: 0.8504 MB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2485, allocations: 8.031 kB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.2486, allocations: 68.55 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.2493, allocations: 395 kB / 438.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.2494, allocations: 58.92 kB / 438.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.2494, allocations: 32.38 kB / 438.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.2502, allocations: 461.1 kB / 439 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.2503, allocations: 3.938 kB / 439 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.2503, allocations: 16 kB / 439 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2503, allocations: 8 kB / 439 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.2509, allocations: 278.5 kB / 439.3 MB, free: 13.84 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.002273/0.2532, allocations: 1.298 MB / 440.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2544, allocations: 416.4 kB / 441 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.2547, allocations: 128.8 kB / 441.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.2547, allocations: 7.984 kB / 441.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.2548, allocations: 38.56 kB / 441.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.2548, allocations: 4 kB / 441.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001226/0.256, allocations: 0.607 MB / 441.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002689/0.2563, allocations: 445 kB / 442.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/0.2568, allocations: 453.9 kB / 442.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.2569, allocations: 33.7 kB / 442.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.2571, allocations: 232.7 kB / 442.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.2572, allocations: 119 kB / 443.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.2573, allocations: 73.98 kB / 443.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.2575, allocations: 358.8 kB / 443.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.2577, allocations: 104.6 kB / 443.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.2581, allocations: 248.1 kB / 443.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.2587, allocations: 281.2 kB / 444.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2587, allocations: 0 / 444.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007499/0.2594, allocations: 416.6 kB / 444.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.2595, allocations: 33.7 kB / 444.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2595, allocations: 0 / 444.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.2596, allocations: 53.62 kB / 444.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.26, allocations: 68 kB / 444.7 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.2628, allocations: 2.976 MB / 447.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.2632, allocations: 43.81 kB / 447.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.2632, allocations: 8 kB / 447.7 MB, free: 4.77 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.0002207/0.2634, allocations: 165.8 kB / 447.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.004e-05/0.2635, allocations: 55.67 kB / 447.9 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2636, allocations: 52.69 kB / 448 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2636, allocations: 4 kB / 448 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.2636, allocations: 7.938 kB / 448 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007865/0.2644, allocations: 0.6492 MB / 448.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.2658, allocations: 0.8933 MB / 449.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2658, allocations: 3.938 kB / 449.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.2662, allocations: 75.83 kB / 449.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2662, allocations: 4 kB / 449.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.2662, allocations: 8 kB / 449.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2662, allocations: 3.984 kB / 449.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2662, allocations: 0 / 449.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008756/0.2671, allocations: 0.5205 MB / 450.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.2673, allocations: 164.8 kB / 450.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.2673, allocations: 16 kB / 450.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.2676, allocations: 19.98 kB / 450.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.2677, allocations: 16.22 kB / 450.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2677, allocations: 8 kB / 450.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.2681, allocations: 319.1 kB / 450.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2681, allocations: 4 kB / 450.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.2685, allocations: 135.8 kB / 450.8 MB, free: 1.461 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.000149/0.2687, allocations: 107.2 kB / 450.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009782/0.2696, allocations: 0.5516 MB / 451.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2696, allocations: 4 kB / 451.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.2699, allocations: 119.8 kB / 451.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.2705, allocations: 133.8 kB / 451.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.2721, allocations: 0.8889 MB / 452.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2726, allocations: 0.8158 MB / 453.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000223/0.2728, allocations: 68.34 kB / 453.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2729, allocations: 35.44 kB / 453.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2729, allocations: 0 / 453.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Templates: time 0.01551/0.2884, allocations: 8.382 MB / 461.9 MB, free: 6.406 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] 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.538188340142369]