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.001469/0.001469, allocations: 85.08 kB / 23 MB, free: 1.5 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.001249/0.001249, allocations: 177.3 kB / 26.39 MB, free: 7.988 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.8704/0.8704, allocations: 158.6 MB / 188.3 MB, free: 2.797 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.784e-06/1.784e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.283e-05, allocations: 10.19 kB / 252.2 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003356/0.003379, allocations: 3.636 MB / 255.9 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.005032, allocations: 1.002 MB / 256.9 MB, free: 2.582 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.005218, allocations: 7.938 kB / 256.9 MB, free: 2.574 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.00548, allocations: 111.1 kB / 257 MB, free: 2.465 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.005773, allocations: 210.2 kB / 257.2 MB, free: 2.258 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.005995, allocations: 135.7 kB / 257.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.006551, allocations: 0.7145 MB / 258.1 MB, free: 1.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.006732, allocations: 118.9 kB / 258.2 MB, free: 1.281 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.007071, allocations: 399.1 kB / 258.6 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.007298, allocations: 211.4 kB / 258.8 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.007361, allocations: 60 kB / 258.8 MB, free: 0.625 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.274e-05/0.007423, allocations: 56 kB / 258.9 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.007501, allocations: 139.5 kB / 259 MB, free: 444 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.007652, allocations: 211.5 kB / 259.2 MB, free: 232 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.008063, allocations: 458.3 kB / 259.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.008065, allocations: 0 / 259.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.008066, allocations: 0 / 259.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.008071, allocations: 0 / 259.7 MB, free: 15.78 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.0009525/0.009024, allocations: 0.9291 MB / 260.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.009056, allocations: 11.98 kB / 260.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.009162, allocations: 96.56 kB / 260.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.009519, allocations: 334.5 kB / 261 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.009605, allocations: 102.3 kB / 261.1 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.009654, allocations: 44.33 kB / 261.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.01015, allocations: 0.7861 MB / 262 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.01017, allocations: 4.172 kB / 262 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.01019, allocations: 16.12 kB / 262 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.0102, allocations: 8 kB / 262 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.01039, allocations: 123.1 kB / 262.1 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01151, allocations: 0.9009 MB / 263 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.012, allocations: 158.9 kB / 263.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.01208, allocations: 80.22 kB / 263.2 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.01211, allocations: 7.859 kB / 263.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.01214, allocations: 45.33 kB / 263.3 MB, free: 11.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/0.01214, allocations: 4 kB / 263.3 MB, free: 11.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005485/0.01269, allocations: 328.3 kB / 263.6 MB, free: 11.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.01281, allocations: 453 kB / 264.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.01308, allocations: 442.5 kB / 264.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.01311, allocations: 33.7 kB / 264.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.01326, allocations: 299.2 kB / 264.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.431e-05/0.01333, allocations: 130.8 kB / 264.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.01342, allocations: 87.27 kB / 265 MB, free: 9.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01356, allocations: 0.5351 MB / 265.6 MB, free: 9.395 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.01364, allocations: 65.67 kB / 265.6 MB, free: 9.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.0139, allocations: 0.6267 MB / 266.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01408, allocations: 178.8 kB / 266.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01408, allocations: 0 / 266.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003384/0.01442, allocations: 341.5 kB / 266.8 MB, free: 7.977 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.01445, allocations: 29.7 kB / 266.8 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01445, allocations: 4 kB / 266.8 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.479e-05/0.01455, allocations: 39.34 kB / 266.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.01476, allocations: 79.89 kB / 266.9 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.01673, allocations: 3.52 MB / 270.4 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.01708, allocations: 51.88 kB / 270.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.01711, allocations: 12 kB / 270.5 MB, free: 4 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.0001887/0.0173, allocations: 180.5 kB / 270.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.0174, allocations: 59.72 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.01748, allocations: 48.58 kB / 270.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.01748, allocations: 4 kB / 270.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01749, allocations: 7.922 kB / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004197/0.01791, allocations: 0.5682 MB / 271.4 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.01892, allocations: 0.6886 MB / 272 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01892, allocations: 7.984 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.01925, allocations: 79.89 kB / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.01926, allocations: 0 / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.01928, allocations: 11.94 kB / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.01928, allocations: 0 / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01929, allocations: 0 / 272.1 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.01981, allocations: 436.6 kB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.01999, allocations: 95.55 kB / 272.7 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.02003, allocations: 11.94 kB / 272.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.02021, allocations: 23.98 kB / 272.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.02026, allocations: 24.14 kB / 272.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.02027, allocations: 4 kB / 272.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.02043, allocations: 287 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02043, allocations: 0 / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000489/0.02092, allocations: 135.9 kB / 273.1 MB, free: 1.184 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.0001421/0.02106, allocations: 115.1 kB / 273.3 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007091/0.02177, allocations: 0.6013 MB / 273.9 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.02178, allocations: 4 kB / 273.9 MB, free: 412 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.02194, allocations: 103.3 kB / 274 MB, free: 304 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.0226, allocations: 145.6 kB / 274.1 MB, free: 156 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.02444, allocations: 0.8505 MB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.02451, allocations: 109.8 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000279/0.02479, allocations: 64.23 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.02535, allocations: 274 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.02535, allocations: 0 / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01729/0.04264, allocations: 10.2 MB / 285.6 MB, free: 4.645 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: 3.1188502348959446]