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.001897/0.001897, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.00191/0.00191, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.5/1.5, allocations: 230.6 MB / 254.8 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.001543/0.001543, allocations: 43.92 kB / 374.1 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1096, allocations: 53.32 MB / 427.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004959/0.1145, allocations: 3.528 MB / 431 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.194/0.3085, allocations: 0.9675 MB / 432 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.3089, allocations: 12.25 kB / 432 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.3093, allocations: 106.7 kB / 432.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000462/0.3097, allocations: 195.5 kB / 432.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.31, allocations: 122.2 kB / 432.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006986/0.3107, allocations: 0.6345 MB / 433 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.3109, allocations: 134 kB / 433.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.3112, allocations: 251.1 kB / 433.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.3115, allocations: 275.3 kB / 433.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.3116, allocations: 53.69 kB / 433.7 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-05/0.3117, allocations: 52.66 kB / 433.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3117, allocations: 119.1 kB / 433.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.3119, allocations: 291.9 kB / 434.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006329/0.3126, allocations: 0.6493 MB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3126, allocations: 1.094 kB / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3126, allocations: 0 / 434.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3126, allocations: 0.5 kB / 434.8 MB, free: 7.613 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.001273/0.3139, allocations: 0.8562 MB / 435.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3139, allocations: 9.906 kB / 435.7 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.314, allocations: 65.7 kB / 435.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005581/0.3146, allocations: 394.2 kB / 436.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/0.3147, allocations: 59.19 kB / 436.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.3147, allocations: 35.56 kB / 436.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.3154, allocations: 462.6 kB / 436.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3154, allocations: 0 / 436.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.3155, allocations: 14.58 kB / 436.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3155, allocations: 10.91 kB / 436.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005778/0.316, allocations: 284.6 kB / 437 MB, free: 6.523 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.00202/0.3181, allocations: 1.292 MB / 438.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3192, allocations: 419.1 kB / 438.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3194, allocations: 129.2 kB / 438.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3195, allocations: 14.06 kB / 438.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3195, allocations: 37.75 kB / 438.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.3195, allocations: 1 kB / 438.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001201/0.3207, allocations: 0.6022 MB / 439.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.3208, allocations: 448.5 kB / 439.9 MB, free: 4.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.3213, allocations: 457.1 kB / 440.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.3214, allocations: 32.61 kB / 440.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.3215, allocations: 234.1 kB / 440.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.3216, allocations: 112.3 kB / 440.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3217, allocations: 84.2 kB / 440.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.3218, allocations: 355.6 kB / 441.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.322, allocations: 105.5 kB / 441.3 MB, free: 3.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.3223, allocations: 247.2 kB / 441.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.3228, allocations: 284.3 kB / 441.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3228, allocations: 0 / 441.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007211/0.3235, allocations: 417.7 kB / 442.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.3235, allocations: 32.55 kB / 442.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3236, allocations: 1.25 kB / 442.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.3237, allocations: 48.44 kB / 442.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.3241, allocations: 69.27 kB / 442.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.3259, allocations: 2.975 MB / 445.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/0.3264, allocations: 43.77 kB / 445.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.3264, allocations: 17.12 kB / 445.4 MB, free: 56 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.0002691/0.3267, allocations: 163.5 kB / 445.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3268, allocations: 54.66 kB / 445.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3269, allocations: 50.64 kB / 445.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.3269, allocations: 7.625 kB / 445.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3269, allocations: 4.438 kB / 445.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000848/0.3278, allocations: 0.6496 MB / 446.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.3293, allocations: 0.8985 MB / 447.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3293, allocations: 1.125 kB / 447.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003595/0.3297, allocations: 75.67 kB / 447.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3297, allocations: 1.094 kB / 447.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.3297, allocations: 7.047 kB / 447.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3297, allocations: 1.25 kB / 447.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3297, allocations: 4.75 kB / 447.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009142/0.3307, allocations: 0.514 MB / 447.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.3309, allocations: 166.7 kB / 447.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.331, allocations: 11.78 kB / 448 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.3313, allocations: 15.06 kB / 448 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.3314, allocations: 16.89 kB / 448 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3314, allocations: 13.98 kB / 448 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004479/0.3318, allocations: 318.9 kB / 448.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3318, allocations: 0 / 448.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005369/0.3324, allocations: 132.3 kB / 448.4 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.000154/0.3325, allocations: 111.1 kB / 448.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3336, allocations: 0.5523 MB / 449.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3336, allocations: 0 / 449.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.3339, allocations: 116.9 kB / 449.2 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.0006761/0.3346, allocations: 140.2 kB / 449.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3364, allocations: 0.9255 MB / 450.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.3369, allocations: 0.822 MB / 451.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3371, allocations: 46.78 kB / 451.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3371, allocations: 0 / 451.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01442/0.3515, allocations: 8.317 MB / 459.5 MB, free: 9.523 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/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: 8.191423871990992]