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.001238/0.001238, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.00159/0.00159, allocations: 166.9 kB / 25.61 MB, free: 8.91 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.9001/0.9001, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.573e-06/1.573e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.225e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004399/0.004421, allocations: 3.636 MB / 255.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.006079, allocations: 0.9938 MB / 256.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.006286, allocations: 7.938 kB / 256.1 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.006579, allocations: 119.1 kB / 256.2 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006066/0.007185, allocations: 210.1 kB / 256.4 MB, free: 2.262 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.007452, allocations: 135.8 kB / 256.5 MB, free: 2.129 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00067/0.008122, allocations: 0.7077 MB / 257.3 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.008334, allocations: 122.9 kB / 257.4 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.008725, allocations: 387.2 kB / 257.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.008985, allocations: 223.4 kB / 258 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.5e-05/0.00906, allocations: 56 kB / 258 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.009144, allocations: 60 kB / 258.1 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.009226, allocations: 123.5 kB / 258.2 MB, free: 464 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.009416, allocations: 223.5 kB / 258.4 MB, free: 240 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.009889, allocations: 450.3 kB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.009894, allocations: 4 kB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.009895, allocations: 4 kB / 258.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.009902, allocations: 0 / 258.9 MB, free: 15.79 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.001101/0.011, allocations: 0.9291 MB / 259.8 MB, free: 14.81 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.01105, allocations: 19.97 kB / 259.8 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.01117, allocations: 92.56 kB / 259.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.01159, allocations: 330.5 kB / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.01169, allocations: 110.3 kB / 260.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.01175, allocations: 40.33 kB / 260.4 MB, free: 14.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.01237, allocations: 0.7822 MB / 261.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.01238, allocations: 192 / 261.2 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.01241, allocations: 24.12 kB / 261.2 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.01242, allocations: 8 kB / 261.2 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.01264, allocations: 123 kB / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.01394, allocations: 0.897 MB / 262.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.0142, allocations: 158.9 kB / 262.4 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.0143, allocations: 76.23 kB / 262.4 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.01433, allocations: 15.8 kB / 262.5 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.01436, allocations: 49.31 kB / 262.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.01436, allocations: 4 kB / 262.5 MB, free: 11.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006102/0.01497, allocations: 320.4 kB / 262.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.01511, allocations: 448.9 kB / 263.3 MB, free: 10.96 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.0157, allocations: 446.4 kB / 263.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.01573, allocations: 37.7 kB / 263.7 MB, free: 10.47 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.01589, allocations: 299.2 kB / 264 MB, free: 10.17 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.508e-05/0.01598, allocations: 134.8 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.01609, allocations: 83.28 kB / 264.2 MB, free: 9.945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.01625, allocations: 0.5312 MB / 264.8 MB, free: 9.402 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.01635, allocations: 73.66 kB / 264.8 MB, free: 9.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.01666, allocations: 0.6226 MB / 265.5 MB, free: 8.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.01687, allocations: 178.7 kB / 265.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01688, allocations: 0 / 265.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004038/0.01728, allocations: 345.5 kB / 266 MB, free: 7.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.01731, allocations: 29.7 kB / 266 MB, free: 7.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01732, allocations: 4 kB / 266 MB, free: 7.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001048/0.01742, allocations: 39.36 kB / 266 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.01767, allocations: 83.88 kB / 266.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.01956, allocations: 3.52 MB / 269.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.0198, allocations: 43.77 kB / 269.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.01982, allocations: 12.25 kB / 269.7 MB, free: 4.008 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.0001502/0.01997, allocations: 184.5 kB / 269.9 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.02005, allocations: 63.7 kB / 269.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.02012, allocations: 52.56 kB / 270 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.02012, allocations: 4 kB / 270 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.02013, allocations: 7.875 kB / 270 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006253/0.02075, allocations: 0.5644 MB / 270.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.02156, allocations: 0.6964 MB / 271.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02156, allocations: 0 / 271.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.02182, allocations: 75.89 kB / 271.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.02182, allocations: 0 / 271.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.02184, allocations: 15.94 kB / 271.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.02185, allocations: 3.984 kB / 271.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02185, allocations: 0 / 271.4 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.02228, allocations: 432.7 kB / 271.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.02242, allocations: 95.58 kB / 271.9 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.02247, allocations: 15.94 kB / 271.9 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.02267, allocations: 19.98 kB / 271.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.02273, allocations: 27.94 kB / 271.9 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.02274, allocations: 8 kB / 272 MB, free: 1.582 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001977/0.02294, allocations: 283 kB / 272.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02294, allocations: 0 / 272.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000393/0.02333, allocations: 135.9 kB / 272.4 MB, free: 1.18 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.000114/0.02345, allocations: 111.1 kB / 272.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.024, allocations: 0.6013 MB / 273.1 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02401, allocations: 4 kB / 273.1 MB, free: 412 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.02414, allocations: 99.36 kB / 273.2 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.02466, allocations: 140.9 kB / 273.3 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02612, allocations: 0.8543 MB / 274.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.798e-05/0.0262, allocations: 109.8 kB / 274.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.02639, allocations: 68.17 kB / 274.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.02682, allocations: 270 kB / 274.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02682, allocations: 0 / 274.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of Templates: time 0.01733/0.04416, allocations: 10 MB / 284.6 MB, free: 4.844 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.924450558144599]