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.001242/0.001242, allocations: 80.92 kB / 22.28 MB, free: 2.207 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.0009237/0.0009237, allocations: 166.8 kB / 25.7 MB, free: 8.398 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.8507/0.8507, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.553e-06/1.553e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.943e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003681/0.003701, allocations: 3.628 MB / 255.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.005505, allocations: 1.048 MB / 256.2 MB, free: 2.559 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.005715, allocations: 7.938 kB / 256.2 MB, free: 2.551 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.006024, allocations: 115 kB / 256.3 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.006394, allocations: 206.2 kB / 256.5 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.00667, allocations: 131.8 kB / 256.6 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.007318, allocations: 0.7155 MB / 257.4 MB, free: 1.387 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.007539, allocations: 128.8 kB / 257.5 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.007901, allocations: 391.2 kB / 257.9 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.008133, allocations: 215.4 kB / 258.1 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.008195, allocations: 56 kB / 258.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.008254, allocations: 60 kB / 258.2 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.008334, allocations: 131.5 kB / 258.3 MB, free: 428 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.008497, allocations: 215.5 kB / 258.5 MB, free: 212 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.008876, allocations: 450.4 kB / 259 MB, free: 15.77 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.008878, allocations: 7.938 kB / 259 MB, free: 15.76 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.008879, allocations: 4 kB / 259 MB, free: 15.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.008885, allocations: 0 / 259 MB, free: 15.75 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.0008028/0.009687, allocations: 0.7811 MB / 259.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.009718, allocations: 15.98 kB / 259.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.009801, allocations: 80.86 kB / 259.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01011, allocations: 275.7 kB / 260.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/0.01019, allocations: 106.3 kB / 260.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.01024, allocations: 40.38 kB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.01071, allocations: 0.7497 MB / 261 MB, free: 13.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01072, allocations: 4.125 kB / 261 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.01074, allocations: 20.12 kB / 261 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01075, allocations: 8 kB / 261.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.01091, allocations: 107.1 kB / 261.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009246/0.01183, allocations: 0.6518 MB / 261.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.01202, allocations: 142.5 kB / 261.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.275e-05/0.01209, allocations: 69.42 kB / 262 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.01212, allocations: 15.8 kB / 262 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.01214, allocations: 42.5 kB / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.01214, allocations: 0 / 262.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004471/0.01259, allocations: 266.9 kB / 262.3 MB, free: 12.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.01273, allocations: 449 kB / 262.8 MB, free: 11.58 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.01295, allocations: 367.2 kB / 263.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01297, allocations: 29.7 kB / 263.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/0.01306, allocations: 197.5 kB / 263.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.01312, allocations: 130.8 kB / 263.5 MB, free: 10.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.0132, allocations: 77.66 kB / 263.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.01329, allocations: 358.7 kB / 263.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.01337, allocations: 61.69 kB / 264 MB, free: 10.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.01362, allocations: 0.5721 MB / 264.5 MB, free: 9.613 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.01377, allocations: 161.2 kB / 264.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01377, allocations: 0 / 264.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002551/0.01403, allocations: 280.1 kB / 265 MB, free: 9.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.01405, allocations: 33.7 kB / 265 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.01406, allocations: 0 / 265 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.614e-05/0.01414, allocations: 33.7 kB / 265 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.01434, allocations: 75.89 kB / 265.1 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.01553, allocations: 2.403 MB / 267.5 MB, free: 6.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.01569, allocations: 43.7 kB / 267.6 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01571, allocations: 8 kB / 267.6 MB, free: 6.363 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.0001123/0.01582, allocations: 141.8 kB / 267.7 MB, free: 6.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.01587, allocations: 43.95 kB / 267.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.01592, allocations: 48.58 kB / 267.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01592, allocations: 4 kB / 267.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01592, allocations: 0 / 267.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002635/0.01619, allocations: 0.537 MB / 268.3 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.01674, allocations: 0.5293 MB / 268.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01674, allocations: 0 / 268.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.01694, allocations: 79.89 kB / 268.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01694, allocations: 4 kB / 268.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01696, allocations: 11.98 kB / 269 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.01696, allocations: 3.938 kB / 269 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01696, allocations: 4.188 kB / 269 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.01726, allocations: 328.5 kB / 269.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.01736, allocations: 59.56 kB / 269.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.01739, allocations: 12 kB / 269.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.01754, allocations: 23.95 kB / 269.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.01759, allocations: 23.95 kB / 269.4 MB, free: 4.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.0176, allocations: 8 kB / 269.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.01772, allocations: 164.7 kB / 269.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01772, allocations: 0 / 269.6 MB, free: 4.195 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01798, allocations: 139.8 kB / 269.7 MB, free: 4.059 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 9.627e-05/0.01807, allocations: 88.34 kB / 269.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004247/0.0185, allocations: 494.5 kB / 270.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.0185, allocations: 8 kB / 270.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.0186, allocations: 92.41 kB / 270.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.01892, allocations: 141.4 kB / 270.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.02017, allocations: 0.8331 MB / 271.3 MB, free: 2.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.02027, allocations: 109.8 kB / 271.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.02045, allocations: 60.25 kB / 271.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.02078, allocations: 233.2 kB / 271.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02078, allocations: 0 / 271.7 MB, free: 1.918 MB / 250.7 MB Notification: Performance of Templates: time 0.01072/0.0315, allocations: 9.861 MB / 281.6 MB, free: 8.102 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.755455360747874]