Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007962/0.0007962, allocations: 78.19 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000951/0.000951, allocations: 150.5 kB / 24.81 MB, free: 8.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9668/0.9668, allocations: 173.4 MB / 201.5 MB, free: 8.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 268.4 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.168e-05, allocations: 6.312 kB / 268.4 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003383/0.003395, allocations: 3.625 MB / 272 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.00473, allocations: 0.9689 MB / 273 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.004927, allocations: 9.312 kB / 273 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.005188, allocations: 107.1 kB / 273.1 MB, free: 5.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.005492, allocations: 212.9 kB / 273.3 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.00571, allocations: 136.2 kB / 273.4 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.006283, allocations: 0.7116 MB / 274.2 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.006456, allocations: 126.9 kB / 274.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.006766, allocations: 387.2 kB / 274.7 MB, free: 3.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.00698, allocations: 219.4 kB / 274.9 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.007041, allocations: 56 kB / 274.9 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.223e-05/0.007104, allocations: 60 kB / 275 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.007172, allocations: 127.5 kB / 275.1 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.007309, allocations: 219.5 kB / 275.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.007657, allocations: 450.3 kB / 275.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.00766, allocations: 4 kB / 275.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007661, allocations: 4 kB / 275.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.007666, allocations: 0 / 275.8 MB, free: 2.383 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.0008741/0.00854, allocations: 0.9252 MB / 276.7 MB, free: 1.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.008573, allocations: 12.03 kB / 276.7 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.498e-05/0.008668, allocations: 96.56 kB / 276.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.008993, allocations: 330.5 kB / 277.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.009074, allocations: 110.3 kB / 277.2 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.009118, allocations: 40.38 kB / 277.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.00968, allocations: 0.7822 MB / 278.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.009693, allocations: 192 / 278.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.009717, allocations: 20.12 kB / 278.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.009726, allocations: 8 kB / 278.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.009912, allocations: 123.1 kB / 278.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.01102, allocations: 0.897 MB / 279.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.01123, allocations: 162.8 kB / 279.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.01131, allocations: 80.53 kB / 279.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.01134, allocations: 8.578 kB / 279.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.01136, allocations: 49.33 kB / 279.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.01137, allocations: 0 / 279.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005055/0.01187, allocations: 332.1 kB / 279.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.012, allocations: 452.9 kB / 280.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.01227, allocations: 438.5 kB / 280.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.0123, allocations: 37.7 kB / 280.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01244, allocations: 303.2 kB / 280.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.01251, allocations: 134.8 kB / 281.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.0126, allocations: 83.31 kB / 281.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01275, allocations: 0.5312 MB / 281.7 MB, free: 12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.01283, allocations: 73.44 kB / 281.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.0131, allocations: 0.6249 MB / 282.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.01328, allocations: 174.8 kB / 282.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01328, allocations: 4 kB / 282.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003334/0.01361, allocations: 353.4 kB / 282.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.01364, allocations: 29.7 kB / 282.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.01365, allocations: 4 kB / 282.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.917e-05/0.01375, allocations: 39.3 kB / 283 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.01394, allocations: 79.89 kB / 283 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.01549, allocations: 3.532 MB / 286.6 MB, free: 6.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.01568, allocations: 47.77 kB / 286.6 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01569, allocations: 8 kB / 286.6 MB, free: 6.586 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.0001201/0.01581, allocations: 184.6 kB / 286.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.01588, allocations: 59.72 kB / 286.9 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.01593, allocations: 52.75 kB / 286.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.01593, allocations: 7.984 kB / 286.9 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01594, allocations: 7.875 kB / 286.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003229/0.01626, allocations: 0.5644 MB / 287.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.01694, allocations: 0.6848 MB / 288.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01694, allocations: 4 kB / 288.2 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.01715, allocations: 79.89 kB / 288.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01715, allocations: 0 / 288.3 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.01717, allocations: 19.92 kB / 288.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.01717, allocations: 0 / 288.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01717, allocations: 0 / 288.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.01752, allocations: 432.5 kB / 288.7 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.01763, allocations: 91.59 kB / 288.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.01767, allocations: 15.97 kB / 288.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.01783, allocations: 27.97 kB / 288.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01787, allocations: 23.95 kB / 288.9 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.01788, allocations: 4 kB / 288.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.01804, allocations: 290.9 kB / 289.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01804, allocations: 0 / 289.1 MB, free: 3.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002845/0.01832, allocations: 139.8 kB / 289.3 MB, free: 3.75 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 9.029e-05/0.01841, allocations: 103.2 kB / 289.4 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/0.01888, allocations: 0.6138 MB / 290 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01888, allocations: 0 / 290 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01899, allocations: 103.4 kB / 290.1 MB, free: 2.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.01937, allocations: 137.5 kB / 290.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.02056, allocations: 0.852 MB / 291.1 MB, free: 1.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.972e-05/0.02063, allocations: 117.6 kB / 291.2 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.02078, allocations: 60.23 kB / 291.3 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/0.02112, allocations: 274 kB / 291.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02112, allocations: 0 / 291.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of Templates: time 0.01116/0.03228, allocations: 9.987 MB / 301.5 MB, free: 7.672 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.723549206275493]