Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009194/0.0009194, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9178/0.9178, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.088e-05, allocations: 10.31 kB / 273.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.007069/0.00709, allocations: 3.647 MB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.0117, allocations: 1.039 MB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.01188, allocations: 7.938 kB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.01216, allocations: 107.1 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.01253, allocations: 222.1 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.01277, allocations: 135.8 kB / 278.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003889/0.01666, allocations: 0.7039 MB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.01686, allocations: 128.8 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.01725, allocations: 399.1 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.01752, allocations: 223.4 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.467e-05/0.01759, allocations: 56 kB / 280 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.01767, allocations: 56 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.01776, allocations: 127.5 kB / 280.2 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.01795, allocations: 219.5 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.01839, allocations: 454.3 kB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.0184, allocations: 0 / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0184, allocations: 3.938 kB / 280.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.0184, allocations: 0 / 280.8 MB, free: 9.578 MB / 266.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.003947/0.02235, allocations: 0.785 MB / 281.6 MB, free: 8.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.02238, allocations: 11.98 kB / 281.6 MB, free: 8.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.02249, allocations: 72.88 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.02286, allocations: 279.8 kB / 282 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/0.02295, allocations: 110.3 kB / 282.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.02301, allocations: 36.38 kB / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.02358, allocations: 0.7535 MB / 282.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.02359, allocations: 192 / 282.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.02362, allocations: 16.12 kB / 282.9 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.02363, allocations: 8 kB / 282.9 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.02383, allocations: 107.1 kB / 283 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.02495, allocations: 0.6557 MB / 283.7 MB, free: 6.508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.02518, allocations: 150.4 kB / 283.8 MB, free: 6.352 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.02827, allocations: 61.44 kB / 283.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.0283, allocations: 15.84 kB / 283.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.02833, allocations: 38.56 kB / 283.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.864e-06/0.02833, allocations: 4 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005378/0.02887, allocations: 269.4 kB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.02901, allocations: 448.9 kB / 284.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.02929, allocations: 367.2 kB / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.02932, allocations: 33.7 kB / 285 MB, free: 4.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.02943, allocations: 193.5 kB / 285.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.989e-05/0.02951, allocations: 126.9 kB / 285.3 MB, free: 4.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.02961, allocations: 73.66 kB / 285.4 MB, free: 4.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.02971, allocations: 362.7 kB / 285.8 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.03003, allocations: 65.67 kB / 285.8 MB, free: 4.168 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.03031, allocations: 0.5607 MB / 286.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.03051, allocations: 165.1 kB / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.03051, allocations: 0 / 286.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003236/0.03084, allocations: 276.1 kB / 286.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.03087, allocations: 36.98 kB / 286.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.03087, allocations: 3.938 kB / 286.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.874e-05/0.03097, allocations: 37.72 kB / 286.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/0.03422, allocations: 79.89 kB / 287 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.03569, allocations: 2.403 MB / 289.4 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.03591, allocations: 43.75 kB / 289.4 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.03593, allocations: 12 kB / 289.4 MB, free: 192 kB / 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.0001257/0.03605, allocations: 129.8 kB / 289.6 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.03612, allocations: 43.95 kB / 289.6 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1061/0.1422, allocations: 53.92 kB / 289.7 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1422, allocations: 2.75 kB / 289.7 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1422, allocations: 3.906 kB / 289.7 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002663/0.1425, allocations: 0.5341 MB / 290.2 MB, free: 25.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.1432, allocations: 0.516 MB / 290.7 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1432, allocations: 0 / 290.7 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.1434, allocations: 80.47 kB / 290.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1434, allocations: 1.781 kB / 290.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1434, allocations: 7.219 kB / 290.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1434, allocations: 5.969 kB / 290.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1434, allocations: 4.406 kB / 290.8 MB, free: 25.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.1437, allocations: 340.5 kB / 291.1 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.1438, allocations: 52.33 kB / 291.2 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.1439, allocations: 13.97 kB / 291.2 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.144, allocations: 20.33 kB / 291.2 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.1441, allocations: 24.7 kB / 291.3 MB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1441, allocations: 7.078 kB / 291.3 MB, free: 25.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.1442, allocations: 160.3 kB / 291.4 MB, free: 25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1442, allocations: 3.875 kB / 291.4 MB, free: 25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.1445, allocations: 139.6 kB / 291.6 MB, free: 25 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.87e-05/0.1446, allocations: 88.14 kB / 291.6 MB, free: 24.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.1451, allocations: 494.4 kB / 292.1 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.1451, allocations: 5.688 kB / 292.1 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.574e-05/0.1452, allocations: 89.97 kB / 292.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1455, allocations: 149.7 kB / 292.4 MB, free: 24.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1468, allocations: 0.8346 MB / 293.2 MB, free: 24.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.357e-05/0.1468, allocations: 111.3 kB / 293.3 MB, free: 24.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001881/0.147, allocations: 60.55 kB / 293.4 MB, free: 24.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.1473, allocations: 231.8 kB / 293.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1473, allocations: 0.875 kB / 293.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01231/0.1597, allocations: 9.856 MB / 303.4 MB, free: 20.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8061100589111447]