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.001375/0.001375, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001483/0.001483, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.55/1.55, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001617/0.001617, allocations: 43.94 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09597, allocations: 53.34 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004824/0.1008, allocations: 3.525 MB / 430.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1781/0.2789, allocations: 0.97 MB / 431.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.2793, allocations: 8.625 kB / 431.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.2797, allocations: 106.5 kB / 431.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.2803, allocations: 189.2 kB / 431.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.2806, allocations: 125.1 kB / 431.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008917/0.2815, allocations: 0.6409 MB / 432.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.2817, allocations: 133.9 kB / 432.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.2821, allocations: 251.3 kB / 432.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.2824, allocations: 271.1 kB / 433 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.2824, allocations: 50.19 kB / 433 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.2825, allocations: 56.12 kB / 433.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.2826, allocations: 121.7 kB / 433.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.2828, allocations: 289 kB / 433.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005878/0.2834, allocations: 0.6448 MB / 434.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2834, allocations: 1.906 kB / 434.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2834, allocations: 0 / 434.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.2834, allocations: 7.531 kB / 434.1 MB, free: 7.621 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.001237/0.2846, allocations: 0.8527 MB / 435 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2847, allocations: 13.59 kB / 435 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.2848, allocations: 64.75 kB / 435.1 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.2853, allocations: 401.1 kB / 435.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.2854, allocations: 56.59 kB / 435.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.2854, allocations: 33.16 kB / 435.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.2861, allocations: 458.5 kB / 436 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2861, allocations: 3.938 kB / 436 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.2861, allocations: 15.56 kB / 436 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.2862, allocations: 11.97 kB / 436 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.2867, allocations: 279.3 kB / 436.3 MB, free: 6.531 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.001941/0.2887, allocations: 1.292 MB / 437.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2898, allocations: 414 kB / 438 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.2901, allocations: 134.1 kB / 438.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.2901, allocations: 6.922 kB / 438.1 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2901, allocations: 39.05 kB / 438.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.2901, allocations: 0 / 438.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001168/0.2913, allocations: 0.6086 MB / 438.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.2914, allocations: 446 kB / 439.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.2919, allocations: 456.6 kB / 439.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2919, allocations: 32.27 kB / 439.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.2921, allocations: 231.5 kB / 439.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.2922, allocations: 116.3 kB / 440 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.2923, allocations: 79.88 kB / 440.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.2924, allocations: 351.5 kB / 440.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2926, allocations: 113.1 kB / 440.6 MB, free: 3.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.293, allocations: 250.7 kB / 440.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.2935, allocations: 276.8 kB / 441.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2935, allocations: 0 / 441.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007483/0.2942, allocations: 413 kB / 441.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.2942, allocations: 33.8 kB / 441.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2942, allocations: 4.094 kB / 441.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/0.2944, allocations: 54.67 kB / 441.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.2948, allocations: 65.16 kB / 441.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.2966, allocations: 2.977 MB / 444.6 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.297, allocations: 43.31 kB / 444.7 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.297, allocations: 8.75 kB / 444.7 MB, free: 60 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.0002449/0.2973, allocations: 171.3 kB / 444.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.2974, allocations: 54.89 kB / 444.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.2975, allocations: 54.5 kB / 444.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2976, allocations: 3.844 kB / 445 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2976, allocations: 4.5 kB / 445 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008392/0.2984, allocations: 0.6485 MB / 445.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2999, allocations: 0.8996 MB / 446.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2999, allocations: 3.281 kB / 446.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.3003, allocations: 75.72 kB / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3003, allocations: 1.469 kB / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3003, allocations: 6.375 kB / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3003, allocations: 1.438 kB / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3003, allocations: 0 / 446.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.3013, allocations: 0.5221 MB / 447.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3015, allocations: 166 kB / 447.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.587e-05/0.3015, allocations: 8.406 kB / 447.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.3019, allocations: 15.17 kB / 447.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.3019, allocations: 19.52 kB / 447.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3019, allocations: 11.2 kB / 447.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004012/0.3023, allocations: 318.9 kB / 447.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3023, allocations: 4.062 kB / 447.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.3028, allocations: 132.5 kB / 447.8 MB, free: 14.02 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.0001259/0.3029, allocations: 109.2 kB / 447.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009937/0.3039, allocations: 0.5473 MB / 448.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3039, allocations: 1.062 kB / 448.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.3042, allocations: 124.2 kB / 448.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.3049, allocations: 134.4 kB / 448.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3065, allocations: 0.8873 MB / 449.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.307, allocations: 0.8229 MB / 450.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.3072, allocations: 60.78 kB / 450.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3074, allocations: 40.42 kB / 450.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3074, allocations: 0 / 450.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of Templates: time 0.01622/0.3236, allocations: 8.287 MB / 458.8 MB, free: 9.898 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.948463477194309]