Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001542/0.001542, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.00177/0.00177, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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.589/1.589, allocations: 230.2 MB / 255.2 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2454/0.2454, allocations: 46.88 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 79.88 kB / 0.4924 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1239, allocations: 65.98 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4867/0.6106, allocations: 178.7 MB / 0.7314 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007777/0.6184, allocations: 5.355 MB / 0.7366 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007068/0.6191, allocations: 15.88 kB / 0.7366 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.6201, allocations: 329.9 kB / 0.7369 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.6236, allocations: 1.364 MB / 0.7383 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.6266, allocations: 1.06 MB / 0.7393 GB, free: 6.824 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.6294, allocations: 1.852 MB / 0.7411 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007656/0.6301, allocations: 417.3 kB / 0.7415 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.6329, allocations: 1.098 MB / 0.7426 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.6345, allocations: 0.8056 MB / 0.7434 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.6346, allocations: 60 kB / 0.7434 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.6362, allocations: 0.6383 MB / 0.744 GB, free: 1.949 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.6366, allocations: 271.1 kB / 0.7443 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.6371, allocations: 398.2 kB / 0.7447 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.639, allocations: 1.3 MB / 0.7459 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.639, allocations: 0 / 0.7459 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.639, allocations: 7.938 kB / 0.7459 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.639, allocations: 0 / 0.7459 GB, free: 15.98 MB / 0.5606 GB 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.002437/0.6415, allocations: 1.125 MB / 0.747 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.6415, allocations: 8.031 kB / 0.7471 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008711/0.6424, allocations: 143.4 kB / 0.7472 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.6433, allocations: 0.5357 MB / 0.7477 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.6434, allocations: 96.41 kB / 0.7478 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/0.6435, allocations: 51.92 kB / 0.7479 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.6449, allocations: 0.8214 MB / 0.7487 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.6449, allocations: 0 / 0.7487 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.645, allocations: 24.67 kB / 0.7487 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.6451, allocations: 48.86 kB / 0.7487 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6462, allocations: 0.6205 MB / 0.7493 GB, free: 12.33 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.6512, allocations: 3.933 MB / 0.7532 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.6518, allocations: 343.3 kB / 0.7535 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.6521, allocations: 169.2 kB / 0.7537 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.6523, allocations: 89.38 kB / 0.7537 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.6523, allocations: 38.84 kB / 0.7538 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.6523, allocations: 4 kB / 0.7538 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006007/0.6583, allocations: 1.683 MB / 0.7554 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.6584, allocations: 140.5 kB / 0.7556 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.6592, allocations: 0.6133 MB / 0.7562 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.6593, allocations: 37.7 kB / 0.7562 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.6596, allocations: 371.8 kB / 0.7566 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.6597, allocations: 154.7 kB / 0.7567 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.66, allocations: 154.6 kB / 0.7569 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6602, allocations: 374.8 kB / 0.7572 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.6606, allocations: 205.8 kB / 0.7574 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.6612, allocations: 0.5202 MB / 0.7579 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6623, allocations: 0.7477 MB / 0.7586 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6623, allocations: 4 kB / 0.7586 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001607/0.6639, allocations: 0.881 MB / 0.7595 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6639, allocations: 8.969 kB / 0.7595 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.664, allocations: 8 kB / 0.7595 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6654, allocations: 324.5 kB / 0.7598 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.6658, allocations: 123.8 kB / 0.76 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.667, allocations: 0.925 MB / 0.7609 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.6675, allocations: 31.98 kB / 0.7609 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.983e-05/0.6676, allocations: 64.06 kB / 0.7609 GB, free: 15.7 MB / 0.5762 GB 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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.668, allocations: 255.5 kB / 0.7612 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.6682, allocations: 67.58 kB / 0.7613 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.6699, allocations: 0.8586 MB / 0.7621 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.6699, allocations: 4 kB / 0.7621 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6699, allocations: 0 / 0.7621 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.6699, allocations: 7.984 kB / 0.7621 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.6722, allocations: 1.458 MB / 0.7635 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6722, allocations: 0 / 0.7635 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.6733, allocations: 215.9 kB / 0.7637 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001028/0.6734, allocations: 25.95 kB / 0.7638 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.6734, allocations: 23.98 kB / 0.7638 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.6758, allocations: 2.871 MB / 0.7666 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6758, allocations: 8.016 kB / 0.7666 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.6772, allocations: 0.8229 MB / 0.7674 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003186/0.6776, allocations: 192.7 kB / 0.7676 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.6777, allocations: 8 kB / 0.7676 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004067/0.6781, allocations: 24.05 kB / 0.7676 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.6782, allocations: 43.83 kB / 0.7677 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.6782, allocations: 43.98 kB / 0.7677 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005922/0.6788, allocations: 443 kB / 0.7681 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6788, allocations: 0 / 0.7681 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009699/0.6798, allocations: 259.7 kB / 0.7684 GB, free: 7.613 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008162/0.6806, allocations: 312.2 kB / 0.7687 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.6818, allocations: 0.535 MB / 0.7692 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6819, allocations: 0 / 0.7692 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.6829, allocations: 394.4 kB / 0.7696 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.6846, allocations: 364.2 kB / 0.7699 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.687, allocations: 1.393 MB / 0.7713 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.6876, allocations: 0.9222 MB / 0.7722 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.688, allocations: 135.4 kB / 0.7723 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.688, allocations: 0 / 0.7723 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02479/0.7128, allocations: 16.7 MB / 0.7886 GB, free: 2.852 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.302350712940097]