Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001804/0.001804, allocations: 111.9 kB / 19.13 MB, free: 3.941 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.002172/0.002172, allocations: 200.9 kB / 22.07 MB, free: 1 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.491/1.491, allocations: 227.5 MB / 252.3 MB, free: 108 kB / 190.1 MB " [Timeout remaining time 178] 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.2236/0.2236, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 81.41 kB / 490.9 MB, free: 28.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 62.45 MB / 0.5404 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4844/0.6039, allocations: 178.2 MB / 0.7144 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008515/0.6124, allocations: 5.343 MB / 0.7196 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007751/0.6132, allocations: 19.88 kB / 0.7196 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.6143, allocations: 322 kB / 0.7199 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.6183, allocations: 1.344 MB / 0.7212 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.6215, allocations: 1.066 MB / 0.7223 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003059/0.6245, allocations: 1.848 MB / 0.7241 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008323/0.6254, allocations: 460.1 kB / 0.7245 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.6281, allocations: 1.078 MB / 0.7256 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.6297, allocations: 0.7588 MB / 0.7263 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.6299, allocations: 60 kB / 0.7264 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.6317, allocations: 0.6351 MB / 0.727 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.6321, allocations: 255.3 kB / 0.7272 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.6327, allocations: 398.3 kB / 0.7276 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.6353, allocations: 1.312 MB / 0.7289 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6353, allocations: 4 kB / 0.7289 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6353, allocations: 0 / 0.7289 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.6354, allocations: 0 / 0.7289 GB, free: 14.67 MB / 0.5294 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.002686/0.6381, allocations: 1.125 MB / 0.73 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.6381, allocations: 12.03 kB / 0.73 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008442/0.639, allocations: 139.4 kB / 0.7301 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009936/0.64, allocations: 0.5202 MB / 0.7306 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.6401, allocations: 112.3 kB / 0.7307 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.6402, allocations: 48 kB / 0.7308 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.6416, allocations: 0.8175 MB / 0.7316 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.6417, allocations: 0 / 0.7316 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.6418, allocations: 24 kB / 0.7316 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.542e-05/0.6418, allocations: 56.73 kB / 0.7317 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.643, allocations: 0.6205 MB / 0.7323 GB, free: 11.02 MB / 0.5294 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.00534/0.6483, allocations: 3.94 MB / 0.7361 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.649, allocations: 351.6 kB / 0.7365 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.6493, allocations: 177.3 kB / 0.7366 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.6495, allocations: 89.38 kB / 0.7367 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.6496, allocations: 46.77 kB / 0.7367 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.925e-06/0.6496, allocations: 4 kB / 0.7368 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006176/0.6558, allocations: 1.681 MB / 0.7384 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6559, allocations: 132.5 kB / 0.7385 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008994/0.6568, allocations: 0.6211 MB / 0.7391 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.921e-05/0.6569, allocations: 37.7 kB / 0.7392 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.6572, allocations: 371.8 kB / 0.7395 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.6574, allocations: 146.7 kB / 0.7397 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.6577, allocations: 158.6 kB / 0.7398 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002388/0.6579, allocations: 374.8 kB / 0.7402 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.6583, allocations: 205.9 kB / 0.7404 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.659, allocations: 0.5164 MB / 0.7409 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.6602, allocations: 0.7477 MB / 0.7416 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6603, allocations: 0 / 0.7416 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001675/0.6619, allocations: 0.8844 MB / 0.7425 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.662, allocations: 12 kB / 0.7425 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.662, allocations: 8 kB / 0.7425 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.6635, allocations: 328.3 kB / 0.7428 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.6639, allocations: 119.8 kB / 0.7429 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.6652, allocations: 0.926 MB / 0.7438 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.6659, allocations: 31.98 kB / 0.7438 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.666, allocations: 68.06 kB / 0.7439 GB, free: 14.36 MB / 0.545 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.0004793/0.6665, allocations: 256.2 kB / 0.7442 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.6666, allocations: 67.58 kB / 0.7442 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.6684, allocations: 0.859 MB / 0.7451 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6685, allocations: 5.125 kB / 0.7451 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6685, allocations: 0 / 0.7451 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6685, allocations: 0 / 0.7451 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.6708, allocations: 1.465 MB / 0.7465 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6708, allocations: 0 / 0.7465 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.672, allocations: 223.8 kB / 0.7467 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.955e-05/0.6721, allocations: 24.84 kB / 0.7467 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.6721, allocations: 20 kB / 0.7467 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.6748, allocations: 2.875 MB / 0.7496 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6748, allocations: 4.031 kB / 0.7496 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6763, allocations: 0.8191 MB / 0.7504 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.6767, allocations: 196.6 kB / 0.7505 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.6768, allocations: 8 kB / 0.7506 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.6772, allocations: 24.05 kB / 0.7506 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6773, allocations: 43.83 kB / 0.7506 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-05/0.6774, allocations: 43.98 kB / 0.7507 GB, free: 6.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005991/0.678, allocations: 439 kB / 0.7511 GB, free: 6.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.678, allocations: 0 / 0.7511 GB, free: 6.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009526/0.679, allocations: 259.7 kB / 0.7513 GB, free: 6.273 MB / 0.545 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.0008489/0.6798, allocations: 292.2 kB / 0.7516 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.6811, allocations: 0.5622 MB / 0.7522 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6811, allocations: 4 kB / 0.7522 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009906/0.6821, allocations: 402.4 kB / 0.7525 GB, free: 5.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.6838, allocations: 376.1 kB / 0.7529 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.6862, allocations: 1.393 MB / 0.7543 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.6868, allocations: 0.9261 MB / 0.7552 GB, free: 2.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/0.6872, allocations: 131.4 kB / 0.7553 GB, free: 2.129 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6872, allocations: 0 / 0.7553 GB, free: 2.129 MB / 0.545 GB Notification: Performance of Templates: time 0.02551/0.7127, allocations: 16.65 MB / 0.7715 GB, free: 1.527 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 11.143271799082868]