Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.0008391/0.0008391, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.002001, allocations: 445.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.0007169/0.0007169, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000973/0.00169, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.8729/0.8729, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/1.026, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.928e-05, allocations: 2.312 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004659/0.004679, allocations: 3.699 MB / 225.5 MB, free: 12.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.006229, allocations: 1.052 MB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.006421, allocations: 11.94 kB / 226.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.006621, allocations: 111 kB / 226.7 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.006884, allocations: 218.1 kB / 226.9 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.007099, allocations: 127.8 kB / 227 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000596/0.007695, allocations: 0.704 MB / 227.7 MB, free: 10.22 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.007869, allocations: 136.7 kB / 227.9 MB, free: 10.09 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004531/0.008322, allocations: 485.9 kB / 228.3 MB, free: 9.609 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.008568, allocations: 211.4 kB / 228.6 MB, free: 9.402 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.008628, allocations: 56 kB / 228.6 MB, free: 9.348 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.008689, allocations: 60 kB / 228.7 MB, free: 9.289 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.008755, allocations: 91.69 kB / 228.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.008896, allocations: 179.6 kB / 228.9 MB, free: 9.023 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.009271, allocations: 418.5 kB / 229.3 MB, free: 8.613 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.009285, allocations: 0 / 229.3 MB, free: 8.613 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009286, allocations: 0 / 229.3 MB, free: 8.613 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.009305, allocations: 0 / 229.3 MB, free: 8.613 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009486/0.01025, allocations: 0.9018 MB / 230.2 MB, free: 7.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.01029, allocations: 12.03 kB / 230.3 MB, free: 7.668 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.01038, allocations: 68.88 kB / 230.3 MB, free: 7.602 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.01072, allocations: 279.7 kB / 230.6 MB, free: 7.301 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.01082, allocations: 110.3 kB / 230.7 MB, free: 7.176 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.01086, allocations: 44.38 kB / 230.7 MB, free: 7.133 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.01134, allocations: 0.7457 MB / 231.5 MB, free: 6.234 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01135, allocations: 4.172 kB / 231.5 MB, free: 6.23 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.01138, allocations: 20.12 kB / 231.5 MB, free: 6.211 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.01138, allocations: 8 kB / 231.5 MB, free: 6.203 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.01154, allocations: 99.16 kB / 231.6 MB, free: 6.105 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.0125, allocations: 0.6594 MB / 232.3 MB, free: 5.426 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.0127, allocations: 146.5 kB / 232.4 MB, free: 5.273 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.01277, allocations: 77.16 kB / 232.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.0128, allocations: 7.859 kB / 232.5 MB, free: 5.188 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01282, allocations: 42.56 kB / 232.5 MB, free: 5.137 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.01283, allocations: 0 / 232.5 MB, free: 5.137 MB / 234.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004362/0.01326, allocations: 267 kB / 232.8 MB, free: 4.863 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.01329, allocations: 63.34 kB / 232.9 MB, free: 4.789 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.0135, allocations: 363.2 kB / 233.2 MB, free: 4.418 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.01353, allocations: 33.7 kB / 233.3 MB, free: 4.379 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.01361, allocations: 193.5 kB / 233.4 MB, free: 4.188 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.01368, allocations: 134.8 kB / 233.6 MB, free: 4.055 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.01375, allocations: 73.66 kB / 233.6 MB, free: 3.977 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.01384, allocations: 362.7 kB / 234 MB, free: 3.613 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.01392, allocations: 61.69 kB / 234.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.01413, allocations: 0.5646 MB / 234.6 MB, free: 2.828 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01429, allocations: 165.1 kB / 234.8 MB, free: 2.656 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01429, allocations: 4 kB / 234.8 MB, free: 2.652 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002521/0.01454, allocations: 268.2 kB / 235.1 MB, free: 2.367 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.01458, allocations: 33.69 kB / 235.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01458, allocations: 0 / 235.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.899e-05/0.01467, allocations: 37.69 kB / 235.1 MB, free: 2.285 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.01494, allocations: 107.9 kB / 235.2 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.01616, allocations: 2.407 MB / 237.6 MB, free: 15.6 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.01635, allocations: 39.77 kB / 237.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01637, allocations: 8 kB / 237.7 MB, free: 15.55 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 (37): * Single equations (assignments): 34 * 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.0001072/0.01647, allocations: 133.8 kB / 237.8 MB, free: 15.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.01652, allocations: 43.95 kB / 237.9 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.01657, allocations: 56.56 kB / 237.9 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01658, allocations: 7.938 kB / 237.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.01658, allocations: 4 kB / 237.9 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000257/0.01684, allocations: 0.5369 MB / 238.5 MB, free: 14.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.01741, allocations: 0.5214 MB / 239 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.01741, allocations: 0 / 239 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.01767, allocations: 111.7 kB / 239.1 MB, free: 14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.01777, allocations: 55.59 kB / 239.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01777, allocations: 4 kB / 239.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01779, allocations: 8 kB / 239.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01779, allocations: 0 / 239.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01779, allocations: 0 / 239.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.01806, allocations: 337 kB / 239.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.0181, allocations: 11.98 kB / 239.5 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.01824, allocations: 15.98 kB / 239.5 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.01828, allocations: 27.95 kB / 239.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01829, allocations: 7.969 kB / 239.5 MB, free: 13.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.0184, allocations: 164.7 kB / 239.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0184, allocations: 0 / 239.7 MB, free: 13.37 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000273/0.01867, allocations: 139.8 kB / 239.8 MB, free: 13.23 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 (35): * Single equations (assignments): 35 * 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.0001071/0.01878, allocations: 92.34 kB / 239.9 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.01921, allocations: 482.8 kB / 240.4 MB, free: 12.62 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/0.01923, allocations: 19.91 kB / 240.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.202e-05/0.01932, allocations: 88.62 kB / 240.5 MB, free: 12.51 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.01969, allocations: 197.5 kB / 240.7 MB, free: 12.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/0.02543, allocations: 0.8375 MB / 241.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.0255, allocations: 109.8 kB / 241.7 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002376/0.02574, allocations: 60.23 kB / 241.7 MB, free: 11.26 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.02607, allocations: 237.2 kB / 241.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of SimCode: time 1.633e-06/0.02608, allocations: 0 / 241.9 MB, free: 11.02 MB / 250.7 MB Notification: Performance of Templates: time 0.01285/0.03893, allocations: 10.93 MB / 252.9 MB, free: 120 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.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.862680754624307]