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.001028/0.001028, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001129/0.001129, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 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.9526/0.9526, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.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.663e-06/1.663e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.406e-05, allocations: 2.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003715/0.003749, allocations: 3.689 MB / 254.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.005617, allocations: 1.005 MB / 255.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.005817, allocations: 11.94 kB / 255.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.006126, allocations: 103.1 kB / 255.8 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.006456, allocations: 218.2 kB / 256.1 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.006715, allocations: 131.7 kB / 256.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.007381, allocations: 0.7078 MB / 256.9 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.007583, allocations: 122.9 kB / 257 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004009/0.007984, allocations: 395.2 kB / 257.4 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.008224, allocations: 215.4 kB / 257.6 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.008287, allocations: 56 kB / 257.7 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.008349, allocations: 56 kB / 257.7 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.008421, allocations: 131.5 kB / 257.8 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.008571, allocations: 219.4 kB / 258.1 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.00906, allocations: 454.4 kB / 258.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.009066, allocations: 3.984 kB / 258.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.009068, allocations: 0 / 258.5 MB, free: 12.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.009079, allocations: 0 / 258.5 MB, free: 12.09 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001021/0.0101, allocations: 0.9215 MB / 259.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.01014, allocations: 15.98 kB / 259.4 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.01026, allocations: 96.52 kB / 259.5 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.01065, allocations: 342.5 kB / 259.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.812e-05/0.01075, allocations: 110.3 kB / 260 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.0108, allocations: 40.38 kB / 260 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005933/0.01139, allocations: 0.8092 MB / 260.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.0114, allocations: 192 / 260.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.01143, allocations: 16.12 kB / 260.8 MB, free: 9.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.01144, allocations: 8 kB / 260.9 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.0117, allocations: 155.8 kB / 261 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.01296, allocations: 0.9629 MB / 262 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.01327, allocations: 185.9 kB / 262.1 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.0134, allocations: 88.23 kB / 262.2 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.01344, allocations: 15.8 kB / 262.2 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.01347, allocations: 45.38 kB / 262.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.01347, allocations: 0 / 262.3 MB, free: 7.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006958/0.01416, allocations: 376.3 kB / 262.7 MB, free: 7.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.0143, allocations: 452.9 kB / 263.1 MB, free: 7.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.01464, allocations: 454.7 kB / 263.5 MB, free: 6.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.01468, allocations: 33.7 kB / 263.6 MB, free: 6.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.01485, allocations: 295.3 kB / 263.9 MB, free: 6.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.598e-05/0.01493, allocations: 130.8 kB / 264 MB, free: 6.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.229e-05/0.01502, allocations: 83.34 kB / 264.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.01519, allocations: 0.5274 MB / 264.6 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.01532, allocations: 85.67 kB / 264.7 MB, free: 5.414 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.01574, allocations: 0.6386 MB / 265.3 MB, free: 4.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.016, allocations: 198.8 kB / 265.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.016, allocations: 0 / 265.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000421/0.01643, allocations: 373.5 kB / 265.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.01646, allocations: 33.7 kB / 265.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01646, allocations: 0 / 265.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.0166, allocations: 47.34 kB / 266 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.01682, allocations: 75.92 kB / 266 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.01867, allocations: 3.57 MB / 269.6 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.0189, allocations: 43.84 kB / 269.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.01892, allocations: 8 kB / 269.7 MB, free: 15.96 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 (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.0001378/0.01906, allocations: 184.5 kB / 269.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.01912, allocations: 63.66 kB / 269.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.01918, allocations: 52.56 kB / 270 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01919, allocations: 4 kB / 270 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01919, allocations: 4 kB / 270 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006375/0.01983, allocations: 0.5878 MB / 270.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.02062, allocations: 0.7778 MB / 271.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.02062, allocations: 0 / 271.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.02085, allocations: 79.89 kB / 271.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.02085, allocations: 0 / 271.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.02087, allocations: 12 kB / 271.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02087, allocations: 4 kB / 271.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.02088, allocations: 3.984 kB / 271.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.02132, allocations: 464.6 kB / 271.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.02144, allocations: 99.48 kB / 272 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.02147, allocations: 11.94 kB / 272 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.02163, allocations: 15.98 kB / 272 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.02169, allocations: 31.94 kB / 272 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.0217, allocations: 8 kB / 272 MB, free: 13.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.02191, allocations: 303 kB / 272.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02191, allocations: 4.031 kB / 272.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.02225, allocations: 135.9 kB / 272.5 MB, free: 12.98 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 (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.00012/0.02237, allocations: 107.2 kB / 272.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000623/0.02299, allocations: 0.6287 MB / 273.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.02299, allocations: 0 / 273.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.02313, allocations: 107.4 kB / 273.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.02358, allocations: 153.6 kB / 273.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.02521, allocations: 0.8543 MB / 274.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.801e-05/0.02531, allocations: 109.8 kB / 274.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000195/0.02551, allocations: 56.25 kB / 274.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.0256, allocations: 44.48 kB / 274.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.433e-06/0.02561, allocations: 0 / 274.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of Templates: time 0.0144/0.04001, allocations: 9.834 MB / 284.4 MB, free: 0.9805 MB / 266.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 -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.980868263170123]