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.001777/0.001777, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.002185/0.002185, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.07 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.00203/0.00203, allocations: 64.12 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09384, allocations: 53.32 MB / 427.1 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.0051/0.09894, allocations: 3.527 MB / 430.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1758/0.2747, allocations: 0.9741 MB / 431.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.2751, allocations: 8.594 kB / 431.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.2754, allocations: 104.5 kB / 431.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.2758, allocations: 186.5 kB / 431.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.276, allocations: 126.2 kB / 432.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006339/0.2767, allocations: 0.6401 MB / 432.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2768, allocations: 134.8 kB / 432.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.2771, allocations: 240.2 kB / 433.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.2773, allocations: 278.8 kB / 433.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.2774, allocations: 54.69 kB / 433.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.2775, allocations: 52.28 kB / 433.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.2776, allocations: 119 kB / 433.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.2777, allocations: 293.5 kB / 433.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005093/0.2783, allocations: 0.641 MB / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2783, allocations: 0 / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2783, allocations: 2.203 kB / 434.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.2783, allocations: 0 / 434.5 MB, free: 7.605 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.001144/0.2794, allocations: 0.8575 MB / 435.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2794, allocations: 10.67 kB / 435.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.2795, allocations: 65.31 kB / 435.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.2801, allocations: 396.7 kB / 435.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.2802, allocations: 60.62 kB / 435.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.2802, allocations: 34.66 kB / 435.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.2809, allocations: 462 kB / 436.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2809, allocations: 0 / 436.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.2809, allocations: 15.59 kB / 436.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.2809, allocations: 8.031 kB / 436.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/0.2815, allocations: 283.6 kB / 436.6 MB, free: 6.52 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.002157/0.2837, allocations: 1.298 MB / 437.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2848, allocations: 421.8 kB / 438.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.285, allocations: 126 kB / 438.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.2851, allocations: 5.859 kB / 438.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2851, allocations: 38.03 kB / 438.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.2851, allocations: 0 / 438.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001103/0.2862, allocations: 0.609 MB / 439.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/0.2863, allocations: 445.1 kB / 439.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.2868, allocations: 452.6 kB / 440 MB, free: 4.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.2868, allocations: 38.05 kB / 440 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2869, allocations: 234.1 kB / 440.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.287, allocations: 116.5 kB / 440.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2871, allocations: 79.45 kB / 440.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.2872, allocations: 355.4 kB / 440.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.2874, allocations: 105.2 kB / 440.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.2878, allocations: 252.4 kB / 441.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.2882, allocations: 279.8 kB / 441.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2882, allocations: 0 / 441.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006715/0.2889, allocations: 420.3 kB / 441.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.2889, allocations: 32.73 kB / 441.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.2889, allocations: 0 / 441.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.2891, allocations: 52.08 kB / 441.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.2894, allocations: 64.94 kB / 442 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/0.2912, allocations: 2.973 MB / 445 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.2916, allocations: 42.97 kB / 445 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.2916, allocations: 12.69 kB / 445 MB, free: 228 kB / 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.0001936/0.2918, allocations: 164.4 kB / 445.2 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2919, allocations: 54.31 kB / 445.2 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.292, allocations: 50.58 kB / 445.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.292, allocations: 6.156 kB / 445.3 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.292, allocations: 6.047 kB / 445.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008443/0.2929, allocations: 0.649 MB / 445.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2943, allocations: 0.9001 MB / 446.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2943, allocations: 1.125 kB / 446.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.2947, allocations: 71.14 kB / 446.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2947, allocations: 6.25 kB / 446.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.2947, allocations: 6 kB / 446.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2947, allocations: 7.25 kB / 446.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2947, allocations: 0 / 446.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.2956, allocations: 0.5176 MB / 447.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.2958, allocations: 166 kB / 447.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/0.2959, allocations: 8.281 kB / 447.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.2962, allocations: 18.8 kB / 447.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.2962, allocations: 27.91 kB / 447.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.2962, allocations: 6.891 kB / 447.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003905/0.2966, allocations: 322.2 kB / 448 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2966, allocations: 0 / 448 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004546/0.2971, allocations: 133.2 kB / 448.1 MB, free: 14.19 MB / 366.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.0001543/0.2972, allocations: 102.1 kB / 448.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009609/0.2982, allocations: 0.5554 MB / 448.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2982, allocations: 1.406 kB / 448.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.2985, allocations: 116 kB / 448.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.2991, allocations: 128.1 kB / 449 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3007, allocations: 0.8974 MB / 449.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.3011, allocations: 0.816 MB / 450.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.3014, allocations: 65.88 kB / 450.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3015, allocations: 44.14 kB / 450.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3015, allocations: 0 / 450.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Templates: time 0.01509/0.3166, allocations: 8.289 MB / 459.1 MB, free: 10.09 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.694737493060529]