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.001345/0.001345, allocations: 80.62 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.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.001008/0.001008, allocations: 150.8 kB / 25.6 MB, free: 8.883 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.9266/0.9266, allocations: 173.4 MB / 202.3 MB, free: 8.301 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.403e-06/1.403e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.257e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003143/0.003156, allocations: 3.633 MB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.00438, allocations: 0.9688 MB / 273.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.004539, allocations: 10.69 kB / 273.8 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.004786, allocations: 107.1 kB / 273.9 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.005061, allocations: 211.6 kB / 274.1 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.005263, allocations: 140.2 kB / 274.2 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005465/0.00581, allocations: 0.7078 MB / 274.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.005983, allocations: 122.9 kB / 275.1 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.006294, allocations: 395.1 kB / 275.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.006511, allocations: 215.4 kB / 275.7 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.006575, allocations: 60 kB / 275.7 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.006632, allocations: 56 kB / 275.8 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.006707, allocations: 127.5 kB / 275.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.006856, allocations: 215.6 kB / 276.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.007219, allocations: 458.3 kB / 276.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.007221, allocations: 0 / 276.6 MB, free: 2.383 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.8e-07/0.007221, allocations: 4 kB / 276.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.007226, allocations: 0 / 276.6 MB, free: 2.379 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.0008649/0.008091, allocations: 0.9214 MB / 277.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.008118, allocations: 8.031 kB / 277.5 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.562e-05/0.008214, allocations: 96.56 kB / 277.6 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.008544, allocations: 342.4 kB / 277.9 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.008624, allocations: 110.3 kB / 278 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.008667, allocations: 36.38 kB / 278.1 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.009158, allocations: 0.7822 MB / 278.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.00917, allocations: 4.125 kB / 278.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.009196, allocations: 24.12 kB / 278.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.009204, allocations: 8 kB / 278.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.009376, allocations: 123.1 kB / 279 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01038, allocations: 0.8893 MB / 279.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.01059, allocations: 166.8 kB / 280.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.01067, allocations: 76.53 kB / 280.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.01069, allocations: 12.59 kB / 280.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.01072, allocations: 49.31 kB / 280.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.332e-06/0.01072, allocations: 0 / 280.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004823/0.0112, allocations: 328.2 kB / 280.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.01133, allocations: 452.9 kB / 281 MB, free: 13.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.0116, allocations: 442.5 kB / 281.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.01163, allocations: 33.7 kB / 281.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.01176, allocations: 307.2 kB / 281.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.01184, allocations: 130.8 kB / 281.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.01192, allocations: 83.33 kB / 281.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01205, allocations: 0.5273 MB / 282.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.01213, allocations: 77.44 kB / 282.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.0124, allocations: 0.6211 MB / 283.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.01257, allocations: 178.7 kB / 283.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01258, allocations: 0 / 283.3 MB, free: 10.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000316/0.01289, allocations: 345.4 kB / 283.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.01291, allocations: 41.67 kB / 283.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.01292, allocations: 0 / 283.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.42e-05/0.013, allocations: 43.34 kB / 283.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.0132, allocations: 75.89 kB / 283.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.0147, allocations: 3.539 MB / 287.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.01489, allocations: 51.75 kB / 287.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.0149, allocations: 4 kB / 287.4 MB, free: 6.578 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.0001168/0.01502, allocations: 184.5 kB / 287.6 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.01508, allocations: 59.72 kB / 287.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.01513, allocations: 56.56 kB / 287.7 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01513, allocations: 4 kB / 287.7 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01514, allocations: 3.938 kB / 287.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003103/0.01545, allocations: 0.5605 MB / 288.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.01607, allocations: 0.6888 MB / 289 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01607, allocations: 0 / 289 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/0.01627, allocations: 79.89 kB / 289 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01627, allocations: 192 / 289 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01629, allocations: 15.94 kB / 289.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01629, allocations: 0 / 289.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01629, allocations: 3.984 kB / 289.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.01664, allocations: 436.5 kB / 289.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.01675, allocations: 87.59 kB / 289.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.01679, allocations: 15.94 kB / 289.6 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.01695, allocations: 24.02 kB / 289.6 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.01699, allocations: 27.94 kB / 289.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.017, allocations: 8 kB / 289.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.01715, allocations: 283 kB / 289.9 MB, free: 3.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01715, allocations: 0 / 289.9 MB, free: 3.891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002755/0.01742, allocations: 139.8 kB / 290.1 MB, free: 3.754 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 7.971e-05/0.0175, allocations: 107.2 kB / 290.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.01795, allocations: 0.61 MB / 290.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01795, allocations: 0 / 290.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01805, allocations: 103.3 kB / 290.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.01844, allocations: 141.5 kB / 291 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.01957, allocations: 0.8481 MB / 291.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.01963, allocations: 117.6 kB / 292 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.01978, allocations: 60.23 kB / 292 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.02013, allocations: 278 kB / 292.3 MB, free: 1.375 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02013, allocations: 0 / 292.3 MB, free: 1.375 MB / 266.7 MB Notification: Performance of Templates: time 0.0115/0.03163, allocations: 10.19 MB / 302.5 MB, free: 7.445 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.8177852062508464]