Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001389/0.001389, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001489/0.001489, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 55.91 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 49.16 MB / 396.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00429/0.3183, allocations: 3.189 MB / 400 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3199, allocations: 0.9431 MB / 401 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.3201, allocations: 9.844 kB / 401 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.3204, allocations: 104.3 kB / 401.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.3208, allocations: 192.1 kB / 401.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3211, allocations: 125.1 kB / 401.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006727/0.3217, allocations: 0.6323 MB / 402 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.3219, allocations: 128.6 kB / 402.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.3222, allocations: 248.7 kB / 402.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3225, allocations: 236.4 kB / 402.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.83e-05/0.3226, allocations: 52.47 kB / 402.7 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3227, allocations: 58.25 kB / 402.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.3228, allocations: 115.3 kB / 402.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.323, allocations: 249.1 kB / 403.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000662/0.3237, allocations: 0.646 MB / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3237, allocations: 0 / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3237, allocations: 0 / 403.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3237, allocations: 0 / 403.7 MB, free: 5.227 MB / 318.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.001274/0.325, allocations: 0.787 MB / 404.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.325, allocations: 14.62 kB / 404.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3251, allocations: 63.88 kB / 404.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.3257, allocations: 338.2 kB / 404.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.3259, allocations: 110.3 kB / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.798e-05/0.3259, allocations: 33.97 kB / 405.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008746/0.3268, allocations: 0.8379 MB / 405.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3268, allocations: 5.984 kB / 405.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.3269, allocations: 15.81 kB / 405.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3269, allocations: 7.781 kB / 405.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.3275, allocations: 275.2 kB / 406.2 MB, free: 3.371 MB / 318.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.001951/0.3295, allocations: 0.9552 MB / 407.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.3306, allocations: 331.1 kB / 407.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3308, allocations: 127.1 kB / 407.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.3308, allocations: 4.969 kB / 407.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3309, allocations: 51.41 kB / 407.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.3309, allocations: 0 / 407.7 MB, free: 2.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001092/0.3319, allocations: 449.3 kB / 408.1 MB, free: 2.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.3321, allocations: 448.9 kB / 408.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.3326, allocations: 394.7 kB / 408.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3326, allocations: 38.56 kB / 409 MB, free: 1.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3328, allocations: 245.1 kB / 409.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.3329, allocations: 116.9 kB / 409.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.333, allocations: 76 kB / 409.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.3331, allocations: 357.7 kB / 409.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.3333, allocations: 134.5 kB / 409.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.3337, allocations: 0.6536 MB / 410.5 MB, free: 172 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.3341, allocations: 276.5 kB / 410.8 MB, free: 20 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3341, allocations: 1.312 kB / 410.8 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008661/0.335, allocations: 441.3 kB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.611e-05/0.3351, allocations: 31.83 kB / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3351, allocations: 1.125 kB / 411.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.3352, allocations: 51.67 kB / 411.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.3356, allocations: 64.69 kB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.3384, allocations: 2.699 MB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.3388, allocations: 39.27 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.3388, allocations: 16.86 kB / 414.1 MB, free: 13.09 MB / 334.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.0002615/0.3391, allocations: 168.7 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3392, allocations: 50.91 kB / 414.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3393, allocations: 48.19 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3393, allocations: 4 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.3393, allocations: 1.031 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007623/0.3401, allocations: 0.6493 MB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.3414, allocations: 0.75 MB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3414, allocations: 4 kB / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.3418, allocations: 72 kB / 415.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.3418, allocations: 5.312 kB / 415.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.3418, allocations: 10.7 kB / 415.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3418, allocations: 1.375 kB / 415.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3418, allocations: 3.938 kB / 415.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009507/0.3428, allocations: 0.507 MB / 416.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.3429, allocations: 92.59 kB / 416.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.343, allocations: 11.81 kB / 416.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.3433, allocations: 16.02 kB / 416.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.3434, allocations: 22.69 kB / 416.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.3434, allocations: 10.28 kB / 416.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003609/0.3438, allocations: 281.4 kB / 416.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3438, allocations: 0 / 416.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005436/0.3443, allocations: 136.6 kB / 417 MB, free: 11.06 MB / 334.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.000156/0.3445, allocations: 106.9 kB / 417.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3455, allocations: 0.5744 MB / 417.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3455, allocations: 1.219 kB / 417.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.3458, allocations: 119.8 kB / 417.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.3464, allocations: 128.1 kB / 417.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.3481, allocations: 0.8915 MB / 418.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3484, allocations: 219.9 kB / 419 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.3486, allocations: 56.86 kB / 419 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.3487, allocations: 37.12 kB / 419.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3487, allocations: 4 kB / 419.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of Templates: time 0.01683/0.3655, allocations: 9.043 MB / 428.1 MB, free: 2.766 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.9305503480136395]