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.0007308/0.0007308, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001745, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000698/0.000698, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009324/0.00163, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.934/0.934, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07377/1.008, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] 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 1.162e-06/1.162e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.224e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002934/0.002946, allocations: 3.541 MB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.004303, allocations: 1.004 MB / 249.1 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.004458, allocations: 15.88 kB / 249.1 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.004632, allocations: 107.1 kB / 249.2 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.00487, allocations: 198.3 kB / 249.4 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.005063, allocations: 119.8 kB / 249.5 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000505/0.005568, allocations: 0.6767 MB / 250.2 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.005737, allocations: 133.3 kB / 250.3 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.006349, allocations: 452.2 kB / 250.7 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.006567, allocations: 195.5 kB / 250.9 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.006622, allocations: 56 kB / 251 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.006674, allocations: 52 kB / 251 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.006731, allocations: 83.69 kB / 251.1 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.006865, allocations: 171.7 kB / 251.3 MB, free: 7.527 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.00721, allocations: 386.6 kB / 251.7 MB, free: 7.148 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.507e-05/0.007225, allocations: 3.984 kB / 251.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.007226, allocations: 0 / 251.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.007243, allocations: 4 kB / 251.7 MB, free: 7.141 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.0008479/0.008091, allocations: 0.8513 MB / 252.5 MB, free: 6.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.008118, allocations: 12.03 kB / 252.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.008194, allocations: 72.86 kB / 252.6 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.00848, allocations: 271.8 kB / 252.9 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.008556, allocations: 102.3 kB / 253 MB, free: 5.766 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.008595, allocations: 48.27 kB / 253 MB, free: 5.719 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.00899, allocations: 0.7341 MB / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.009002, allocations: 192 / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.009023, allocations: 20.12 kB / 253.8 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.009031, allocations: 8 kB / 253.8 MB, free: 4.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.009174, allocations: 107.1 kB / 253.9 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.01009, allocations: 0.6674 MB / 254.6 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.01055, allocations: 229.9 kB / 254.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.01062, allocations: 60.77 kB / 254.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.01065, allocations: 11.98 kB / 254.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.01067, allocations: 46.44 kB / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.01067, allocations: 0 / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003665/0.01104, allocations: 236.6 kB / 255.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.01106, allocations: 59.41 kB / 255.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.01125, allocations: 339.3 kB / 255.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.01127, allocations: 33.7 kB / 255.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.01135, allocations: 201.4 kB / 255.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.01141, allocations: 118.9 kB / 255.9 MB, free: 2.637 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.01148, allocations: 73.95 kB / 255.9 MB, free: 2.555 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.01156, allocations: 358.7 kB / 256.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.01162, allocations: 66.34 kB / 256.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.01183, allocations: 0.5658 MB / 256.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.01196, allocations: 161 kB / 257.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01197, allocations: 7.938 kB / 257.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002256/0.01219, allocations: 258.6 kB / 257.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.01222, allocations: 37.62 kB / 257.4 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01223, allocations: 4 kB / 257.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.464e-05/0.01231, allocations: 41.69 kB / 257.4 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.01254, allocations: 79.88 kB / 257.5 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.01387, allocations: 2.403 MB / 259.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.01401, allocations: 39.77 kB / 259.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01403, allocations: 12.03 kB / 259.9 MB, free: 14.16 MB / 266.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 9.506e-05/0.01412, allocations: 133.8 kB / 260.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.01417, allocations: 39.95 kB / 260.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.01422, allocations: 56.25 kB / 260.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01422, allocations: 4 kB / 260.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.01422, allocations: 0 / 260.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002335/0.01445, allocations: 0.5208 MB / 260.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.01493, allocations: 0.498 MB / 261.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01494, allocations: 3.938 kB / 261.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.01515, allocations: 83.88 kB / 261.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.01523, allocations: 55.58 kB / 261.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01523, allocations: 0 / 261.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.01524, allocations: 12 kB / 261.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01524, allocations: 0 / 261.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01524, allocations: 0 / 261.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.01548, allocations: 310 kB / 261.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.01551, allocations: 11.98 kB / 261.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01564, allocations: 12 kB / 261.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.01566, allocations: 19.95 kB / 261.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.01567, allocations: 4 kB / 261.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.586e-05/0.01577, allocations: 148.6 kB / 261.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01577, allocations: 0 / 261.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.016, allocations: 135.8 kB / 262 MB, free: 11.97 MB / 266.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 8.14e-05/0.01609, allocations: 91.44 kB / 262.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.01644, allocations: 490.2 kB / 262.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.01645, allocations: 11.94 kB / 262.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.01652, allocations: 76.73 kB / 262.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.01684, allocations: 177.3 kB / 262.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/0.02299, allocations: 0.78 MB / 263.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.02306, allocations: 109.9 kB / 263.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.02326, allocations: 55.39 kB / 263.7 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.02356, allocations: 229.2 kB / 264 MB, free: 9.867 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02356, allocations: 0 / 264 MB, free: 9.867 MB / 266.7 MB Notification: Performance of Templates: time 0.01136/0.03492, allocations: 9.951 MB / 273.9 MB, free: 164 kB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6654266621917486]