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.0009996/0.0009996, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009878/0.0009878, allocations: 143.2 kB / 24.98 MB, free: 8.316 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.9452/0.9452, allocations: 173.3 MB / 201.5 MB, free: 9.328 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.093e-06/1.093e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.824e-05, allocations: 2.312 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003377/0.003395, allocations: 3.677 MB / 271.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.004897, allocations: 0.9694 MB / 272.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.005069, allocations: 11.94 kB / 272.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.00532, allocations: 103.1 kB / 272.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.005616, allocations: 214.1 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.005834, allocations: 139.7 kB / 273.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.006356, allocations: 0.7078 MB / 273.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.006536, allocations: 118.9 kB / 274 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.006805, allocations: 395.1 kB / 274.4 MB, free: 396 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.007002, allocations: 223.4 kB / 274.6 MB, free: 172 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.933e-05/0.007061, allocations: 56 kB / 274.6 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.352e-05/0.007114, allocations: 60 kB / 274.7 MB, free: 56 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.007194, allocations: 127.5 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.007344, allocations: 219.5 kB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.007711, allocations: 462.3 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007713, allocations: 0 / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.007715, allocations: 4 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.00772, allocations: 0 / 275.5 MB, free: 15.26 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.001137/0.008857, allocations: 0.9176 MB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.00889, allocations: 16.86 kB / 276.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.008996, allocations: 92.56 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.009401, allocations: 359.1 kB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.009478, allocations: 118.3 kB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.009523, allocations: 32.38 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.01005, allocations: 0.8056 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.01007, allocations: 192 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.01009, allocations: 24.12 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.0101, allocations: 8 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.01036, allocations: 147.8 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.0115, allocations: 0.959 MB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.01176, allocations: 181.9 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.01188, allocations: 92.17 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.01191, allocations: 15.92 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.01194, allocations: 45.25 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.01194, allocations: 0 / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006212/0.01256, allocations: 384.3 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.01268, allocations: 441 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.01301, allocations: 454.7 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.01303, allocations: 37.7 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.01317, allocations: 299.3 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.01324, allocations: 126.8 kB / 281 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-05/0.01333, allocations: 83.34 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.01345, allocations: 0.5274 MB / 281.6 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.01357, allocations: 85.44 kB / 281.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.01387, allocations: 0.6386 MB / 282.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.0141, allocations: 198.8 kB / 282.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.0141, allocations: 3.938 kB / 282.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006409/0.01474, allocations: 381.4 kB / 282.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.01477, allocations: 29.7 kB / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01478, allocations: 0 / 282.9 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.01489, allocations: 47.34 kB / 283 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.0151, allocations: 83.92 kB / 283 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.01682, allocations: 3.578 MB / 286.6 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.01701, allocations: 47.75 kB / 286.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.01703, allocations: 12 kB / 286.7 MB, free: 3.094 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.0001253/0.01715, allocations: 180.5 kB / 286.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.01722, allocations: 63.66 kB / 286.9 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.01728, allocations: 48.56 kB / 287 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01728, allocations: 4 kB / 287 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01728, allocations: 0 / 287 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003701/0.01765, allocations: 0.5917 MB / 287.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007659/0.01842, allocations: 0.7663 MB / 288.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01842, allocations: 0 / 288.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.01863, allocations: 83.88 kB / 288.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01864, allocations: 4 kB / 288.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01865, allocations: 4 kB / 288.4 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01865, allocations: 4 kB / 288.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01866, allocations: 4 kB / 288.4 MB, free: 1.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.0191, allocations: 484.1 kB / 288.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.01921, allocations: 87.59 kB / 289 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.01925, allocations: 12 kB / 289 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.01941, allocations: 23.98 kB / 289 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.01947, allocations: 23.95 kB / 289 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01948, allocations: 4 kB / 289 MB, free: 0.543 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.01968, allocations: 307 kB / 289.3 MB, free: 248 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01968, allocations: 0 / 289.3 MB, free: 248 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.01997, allocations: 143.9 kB / 289.5 MB, free: 104 kB / 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 0.0001044/0.02008, allocations: 111.2 kB / 289.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.02064, allocations: 0.6371 MB / 290.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.02064, allocations: 0 / 290.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.02077, allocations: 111.5 kB / 290.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.02117, allocations: 141.6 kB / 290.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.02249, allocations: 0.8495 MB / 291.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.013e-05/0.02256, allocations: 113.5 kB / 291.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.02271, allocations: 56.25 kB / 291.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.12e-05/0.02279, allocations: 40.5 kB / 291.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.02279, allocations: 0 / 291.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Templates: time 0.01087/0.03366, allocations: 9.32 MB / 300.9 MB, free: 4.832 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.95860214298591]