Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001087/0.001087, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001762/0.002849, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007563/0.0007563, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.00178, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8787/0.8787, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1599/1.039, allocations: 52.49 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.003e-05, allocations: 2.312 kB / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004655/0.004675, allocations: 3.526 MB / 243.3 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.006779, allocations: 0.9676 MB / 244.2 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.007017, allocations: 8.594 kB / 244.2 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.007298, allocations: 111.8 kB / 244.3 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.007686, allocations: 201.7 kB / 244.5 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.007985, allocations: 127.7 kB / 244.7 MB, free: 1.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007869/0.008772, allocations: 0.6656 MB / 245.3 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.009032, allocations: 133.4 kB / 245.5 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000611/0.009643, allocations: 452.8 kB / 245.9 MB, free: 184 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.009999, allocations: 196 kB / 246.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.0101, allocations: 53.69 kB / 246.2 MB, free: 15.94 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.0102, allocations: 52 kB / 246.2 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.964e-05/0.01029, allocations: 87.69 kB / 246.3 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.01049, allocations: 171.7 kB / 246.5 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.01099, allocations: 394.5 kB / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.011, allocations: 1.156 kB / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.011, allocations: 0 / 246.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.01102, allocations: 0 / 246.8 MB, free: 15.25 MB / 250.7 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.001243/0.01226, allocations: 0.8579 MB / 247.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.01229, allocations: 8.719 kB / 247.7 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.01243, allocations: 72.88 kB / 247.8 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000454/0.01288, allocations: 261.2 kB / 248 MB, free: 14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.01299, allocations: 108.9 kB / 248.1 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.01307, allocations: 44.36 kB / 248.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.01375, allocations: 0.7411 MB / 248.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01376, allocations: 192 / 248.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.0138, allocations: 20.12 kB / 248.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.01381, allocations: 8 kB / 249 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.01404, allocations: 108.1 kB / 249.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.01546, allocations: 0.6741 MB / 249.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.01621, allocations: 226.6 kB / 250 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01632, allocations: 64.7 kB / 250 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.01635, allocations: 8 kB / 250 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.01638, allocations: 38.56 kB / 250.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.01638, allocations: 0 / 250.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005828/0.01697, allocations: 244.5 kB / 250.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.01713, allocations: 63.41 kB / 250.4 MB, free: 11.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.01742, allocations: 335.3 kB / 250.7 MB, free: 11.1 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.01745, allocations: 33.7 kB / 250.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.01757, allocations: 197.4 kB / 250.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.01765, allocations: 118.9 kB / 251 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01777, allocations: 73.98 kB / 251.1 MB, free: 10.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01788, allocations: 354.7 kB / 251.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.01798, allocations: 62.28 kB / 251.5 MB, free: 10.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.01828, allocations: 0.5813 MB / 252.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01851, allocations: 157.2 kB / 252.2 MB, free: 9.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01852, allocations: 15.88 kB / 252.3 MB, free: 9.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003616/0.01888, allocations: 258.6 kB / 252.5 MB, free: 9.059 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.01892, allocations: 29.7 kB / 252.5 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01892, allocations: 0 / 252.5 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.01904, allocations: 41.62 kB / 252.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.01938, allocations: 79.89 kB / 252.7 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.02143, allocations: 2.418 MB / 255.1 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.02167, allocations: 35.86 kB / 255.1 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.02169, allocations: 12 kB / 255.1 MB, free: 6.254 MB / 250.7 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.0001375/0.02183, allocations: 137.8 kB / 255.3 MB, free: 6.109 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.0219, allocations: 39.95 kB / 255.3 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.02198, allocations: 56.31 kB / 255.4 MB, free: 6.016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02198, allocations: 4 kB / 255.4 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.02198, allocations: 0 / 255.4 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000346/0.02233, allocations: 0.5284 MB / 255.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.02311, allocations: 0.4941 MB / 256.4 MB, free: 4.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.02311, allocations: 3.938 kB / 256.4 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.02347, allocations: 88.05 kB / 256.5 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.02359, allocations: 47.64 kB / 256.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02359, allocations: 0 / 256.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.02361, allocations: 11.98 kB / 256.5 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.02362, allocations: 3.938 kB / 256.5 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02362, allocations: 0 / 256.5 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.024, allocations: 313.4 kB / 256.8 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.02405, allocations: 8 kB / 256.9 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.02428, allocations: 15.98 kB / 256.9 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.02433, allocations: 19.97 kB / 256.9 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.02434, allocations: 0 / 256.9 MB, free: 4.336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.02449, allocations: 148.7 kB / 257 MB, free: 4.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02449, allocations: 0 / 257 MB, free: 4.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.02486, allocations: 139.8 kB / 257.2 MB, free: 4.055 MB / 250.7 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.0001149/0.02497, allocations: 92.39 kB / 257.3 MB, free: 3.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005694/0.02554, allocations: 486.2 kB / 257.7 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/0.02556, allocations: 8 kB / 257.7 MB, free: 3.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.02573, allocations: 100.7 kB / 257.8 MB, free: 3.328 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.02664, allocations: 1.252 MB / 259.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008969/0.03561, allocations: 0.7737 MB / 259.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.0357, allocations: 109.9 kB / 260 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.03591, allocations: 60.14 kB / 260 MB, free: 0.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.03637, allocations: 229.2 kB / 260.3 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03637, allocations: 0 / 260.3 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of Templates: time 0.01789/0.05426, allocations: 10.22 MB / 270.5 MB, free: 6.668 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6519621247425675]