Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001402/0.001402, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001316/0.001316, allocations: 160.6 kB / 24.91 MB, free: 8.727 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 1.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3082/0.3082, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.772e-05, allocations: 2.312 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006595/0.006612, allocations: 7.387 MB / 333.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.009577, allocations: 2.48 MB / 335.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.009836, allocations: 31.75 kB / 335.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.01029, allocations: 210.5 kB / 336.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.01137, allocations: 0.765 MB / 336.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.01254, allocations: 0.8105 MB / 337.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.0139, allocations: 1.852 MB / 339.5 MB, free: 9.535 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004419/0.01434, allocations: 422.1 kB / 339.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009912/0.01533, allocations: 1.005 MB / 340.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.01592, allocations: 0.5609 MB / 341.5 MB, free: 7.551 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.016, allocations: 60 kB / 341.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.01633, allocations: 191.7 kB / 341.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.01652, allocations: 287.1 kB / 342 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.01672, allocations: 275.4 kB / 342.3 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007043/0.01743, allocations: 0.7632 MB / 343 MB, free: 5.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.01743, allocations: 0 / 343 MB, free: 5.988 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01744, allocations: 0 / 343 MB, free: 5.988 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.01744, allocations: 0 / 343 MB, free: 5.988 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001162/0.01861, allocations: 0.9348 MB / 344 MB, free: 5.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01864, allocations: 8.031 kB / 344 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.0189, allocations: 136.5 kB / 344.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.01937, allocations: 423.5 kB / 344.5 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.01947, allocations: 152.4 kB / 344.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.01954, allocations: 60.31 kB / 344.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.02013, allocations: 0.803 MB / 345.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.02015, allocations: 4 kB / 345.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.02019, allocations: 27.98 kB / 345.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.02023, allocations: 36.98 kB / 345.6 MB, free: 3.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.02054, allocations: 244.2 kB / 345.8 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.0226, allocations: 2.695 MB / 348.5 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.02295, allocations: 226.2 kB / 348.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.02304, allocations: 66.16 kB / 348.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.02315, allocations: 40.17 kB / 348.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.02317, allocations: 38.89 kB / 348.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.443e-06/0.02317, allocations: 4 kB / 348.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.001361/0.02453, allocations: 0.821 MB / 349.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.02459, allocations: 144.5 kB / 349.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.02486, allocations: 470.8 kB / 350.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.02489, allocations: 37.7 kB / 350.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.02503, allocations: 333.1 kB / 350.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/0.02512, allocations: 162.6 kB / 350.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.02526, allocations: 138.5 kB / 351 MB, free: 13.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.02538, allocations: 378.6 kB / 351.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.02548, allocations: 65.97 kB / 351.4 MB, free: 13.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.02575, allocations: 481.4 kB / 351.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.02613, allocations: 0.52 MB / 352.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02613, allocations: 0 / 352.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006424/0.02677, allocations: 0.5333 MB / 352.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.02679, allocations: 15.94 kB / 353 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.0268, allocations: 12.12 kB / 353 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.02729, allocations: 203.5 kB / 353.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.02754, allocations: 139.8 kB / 353.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003906/0.02793, allocations: 0.6427 MB / 353.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.02812, allocations: 24 kB / 354 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.02816, allocations: 36.03 kB / 354 MB, free: 10.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.02831, allocations: 172.3 kB / 354.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.02838, allocations: 47.95 kB / 354.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.02887, allocations: 411.5 kB / 354.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.02888, allocations: 4 kB / 354.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.02888, allocations: 4 kB / 354.6 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.02889, allocations: 7.922 kB / 354.6 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.02964, allocations: 0.7242 MB / 355.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.02965, allocations: 0 / 355.4 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004388/0.03009, allocations: 168.1 kB / 355.5 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.03022, allocations: 44.8 kB / 355.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.03025, allocations: 11.98 kB / 355.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.03151, allocations: 2.45 MB / 358 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.03151, allocations: 8.141 kB / 358 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.03202, allocations: 0.5284 MB / 358.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.03213, allocations: 87.53 kB / 358.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.03217, allocations: 15.98 kB / 358.7 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.03232, allocations: 8 kB / 358.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.03239, allocations: 39.88 kB / 358.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.03241, allocations: 15.98 kB / 358.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.03255, allocations: 196.4 kB / 358.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.03255, allocations: 3.938 kB / 358.9 MB, free: 5.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003994/0.03295, allocations: 191.9 kB / 359.1 MB, free: 4.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002324/0.03318, allocations: 148.2 kB / 359.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004463/0.03362, allocations: 333.5 kB / 359.6 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/0.03364, allocations: 8.5 kB / 359.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.03411, allocations: 332.8 kB / 359.9 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.03484, allocations: 321.8 kB / 360.2 MB, free: 3.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.03636, allocations: 1.159 MB / 361.4 MB, free: 2.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.03648, allocations: 171.2 kB / 361.6 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.03677, allocations: 122.4 kB / 361.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.0372, allocations: 279 kB / 361.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.0372, allocations: 0 / 361.9 MB, free: 1.902 MB / 330.7 MB Notification: Performance of Templates: time 0.01495/0.05216, allocations: 13.9 MB / 375.9 MB, free: 4.328 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.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: 3.254088798072189]