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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.511/1.511, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 55.91 kB / 347.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3027, allocations: 49.16 MB / 396.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004256/0.3069, allocations: 3.511 MB / 400.3 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.3084, allocations: 0.999 MB / 401.3 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3086, allocations: 9.188 kB / 401.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003368/0.3089, allocations: 108.6 kB / 401.4 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.3093, allocations: 190.1 kB / 401.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3096, allocations: 121.6 kB / 401.7 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.3103, allocations: 0.6374 MB / 402.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.3105, allocations: 132.2 kB / 402.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.3108, allocations: 251.8 kB / 402.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.3112, allocations: 268.5 kB / 403 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.04e-05/0.3113, allocations: 53.88 kB / 403.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3114, allocations: 57.31 kB / 403.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3115, allocations: 124.5 kB / 403.2 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.3117, allocations: 291.7 kB / 403.5 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007075/0.3124, allocations: 0.6515 MB / 404.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3125, allocations: 0 / 404.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3125, allocations: 0 / 404.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3125, allocations: 0 / 404.2 MB, free: 4.844 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.001384/0.3139, allocations: 0.7827 MB / 405 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3139, allocations: 13.14 kB / 405 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.314, allocations: 69.59 kB / 405 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.3147, allocations: 341.6 kB / 405.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.3148, allocations: 62.66 kB / 405.4 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.3148, allocations: 34.08 kB / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.3156, allocations: 458.6 kB / 405.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3156, allocations: 1.312 kB / 405.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.3157, allocations: 19.56 kB / 405.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3157, allocations: 9.422 kB / 405.9 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.3163, allocations: 277 kB / 406.2 MB, free: 3.52 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.002213/0.3185, allocations: 1.252 MB / 407.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.3197, allocations: 335.2 kB / 407.8 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.32, allocations: 126.6 kB / 407.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.3201, allocations: 9.359 kB / 407.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3201, allocations: 45.67 kB / 408 MB, free: 2.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.3201, allocations: 1.344 kB / 408 MB, free: 2.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001116/0.3212, allocations: 459.4 kB / 408.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.3213, allocations: 444.9 kB / 408.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.3218, allocations: 456.5 kB / 409.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3219, allocations: 33.48 kB / 409.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.322, allocations: 234.3 kB / 409.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.3221, allocations: 122.5 kB / 409.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3222, allocations: 70.86 kB / 409.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.3223, allocations: 360.6 kB / 410.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.3226, allocations: 112.6 kB / 410.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.3229, allocations: 246.5 kB / 410.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.3234, allocations: 281.2 kB / 410.7 MB, free: 448 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3234, allocations: 0 / 410.7 MB, free: 448 kB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007206/0.3241, allocations: 413.4 kB / 411.1 MB, free: 232 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.3242, allocations: 32.09 kB / 411.2 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3242, allocations: 0.75 kB / 411.2 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.3244, allocations: 58.47 kB / 411.2 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.3247, allocations: 66.28 kB / 411.3 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.3276, allocations: 2.761 MB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.3281, allocations: 55.17 kB / 414.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.3281, allocations: 12.69 kB / 414.1 MB, free: 13.43 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.0002683/0.3284, allocations: 171.8 kB / 414.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3285, allocations: 53.7 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3286, allocations: 48.05 kB / 414.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3286, allocations: 3 kB / 414.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3286, allocations: 5.562 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008941/0.3295, allocations: 0.6506 MB / 415 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.331, allocations: 0.8647 MB / 415.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.331, allocations: 3.938 kB / 415.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.3314, allocations: 68.45 kB / 416 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3314, allocations: 2.25 kB / 416 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3314, allocations: 5.031 kB / 416 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3314, allocations: 2.406 kB / 416 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3314, allocations: 3.938 kB / 416 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009166/0.3323, allocations: 0.5229 MB / 416.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3325, allocations: 91.02 kB / 416.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.636e-05/0.3326, allocations: 7.375 kB / 416.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.3329, allocations: 16.44 kB / 416.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.333, allocations: 18.27 kB / 416.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.333, allocations: 15.16 kB / 416.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.3334, allocations: 321.4 kB / 417 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3334, allocations: 0 / 417 MB, free: 11.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.3338, allocations: 131.3 kB / 417.1 MB, free: 11.22 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.0001306/0.334, allocations: 102.5 kB / 417.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.335, allocations: 0.5489 MB / 417.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.335, allocations: 1.062 kB / 417.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.3352, allocations: 124 kB / 417.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.3359, allocations: 136.5 kB / 418 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.3377, allocations: 0.8912 MB / 418.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.3382, allocations: 0.8182 MB / 419.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.3385, allocations: 58.02 kB / 419.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3386, allocations: 50.78 kB / 419.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3386, allocations: 0 / 419.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of Templates: time 0.01692/0.3555, allocations: 8.461 MB / 428.3 MB, free: 2.953 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: 5.042458603158593]