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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.165/2.165, allocations: 227.3 MB / 246.9 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3622/0.3622, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 77.22 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1978, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.6633/0.8612, allocations: 176.3 MB / 0.6409 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.8752, allocations: 5.493 MB / 0.6463 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.877, allocations: 23.81 kB / 0.6463 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.8791, allocations: 290.5 kB / 0.6466 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007082/0.8862, allocations: 1.213 MB / 0.6477 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005239/0.8915, allocations: 0.9432 MB / 0.6487 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005206/0.8967, allocations: 2.733 MB / 0.6513 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.8981, allocations: 400.8 kB / 0.6517 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.9023, allocations: 0.9651 MB / 0.6527 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.905, allocations: 0.7861 MB / 0.6534 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.9054, allocations: 32 kB / 0.6535 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.9081, allocations: 0.5383 MB / 0.654 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006894/0.9088, allocations: 243.2 kB / 0.6542 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.91, allocations: 374.2 kB / 0.6546 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.9122, allocations: 0.9706 MB / 0.6555 GB, free: 4.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.9123, allocations: 0 / 0.6555 GB, free: 4.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.9123, allocations: 0 / 0.6555 GB, free: 4.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.982e-05/0.9123, allocations: 0 / 0.6555 GB, free: 4.328 MB / 494.1 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.004714/0.917, allocations: 1.095 MB / 0.6566 GB, free: 3.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/0.9171, allocations: 12.03 kB / 0.6566 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.9188, allocations: 139 kB / 0.6567 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.9205, allocations: 0.5041 MB / 0.6572 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.9208, allocations: 100.4 kB / 0.6573 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.921, allocations: 51.98 kB / 0.6574 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.9236, allocations: 0.8163 MB / 0.6582 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.9236, allocations: 7.938 kB / 0.6582 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.9238, allocations: 24 kB / 0.6582 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.9239, allocations: 44.91 kB / 0.6582 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.9259, allocations: 0.6166 MB / 0.6588 GB, free: 0.7461 MB / 494.1 MB 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.008224/0.9342, allocations: 3.944 MB / 0.6627 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.9352, allocations: 355.6 kB / 0.663 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.9357, allocations: 177.3 kB / 0.6632 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.9359, allocations: 85.39 kB / 0.6633 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.936, allocations: 45.28 kB / 0.6633 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 3.947e-06/0.936, allocations: 0 / 0.6633 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.01008/0.9461, allocations: 1.682 MB / 0.665 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.9463, allocations: 136.5 kB / 0.6651 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.9477, allocations: 0.6055 MB / 0.6657 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.9478, allocations: 37.7 kB / 0.6657 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.9482, allocations: 366.9 kB / 0.6661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.9485, allocations: 142 kB / 0.6662 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004195/0.9489, allocations: 162.5 kB / 0.6664 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002622/0.9492, allocations: 370.8 kB / 0.6667 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006849/0.9499, allocations: 205.9 kB / 0.6669 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.9509, allocations: 0.5124 MB / 0.6674 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.9527, allocations: 0.7514 MB / 0.6682 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.9527, allocations: 0 / 0.6682 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003024/0.9558, allocations: 0.8873 MB / 0.669 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.9558, allocations: 12 kB / 0.669 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.9559, allocations: 8 kB / 0.669 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/0.9585, allocations: 317.2 kB / 0.6693 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/0.9593, allocations: 119.8 kB / 0.6695 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.9615, allocations: 0.9332 MB / 0.6704 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.9629, allocations: 47.97 kB / 0.6704 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.9631, allocations: 67.98 kB / 0.6705 GB, free: 4.078 MB / 0.4981 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.0007032/0.9638, allocations: 245.8 kB / 0.6707 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.9642, allocations: 67.25 kB / 0.6708 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.9674, allocations: 0.869 MB / 0.6716 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.9674, allocations: 4 kB / 0.6716 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.9674, allocations: 0 / 0.6716 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.9675, allocations: 3.984 kB / 0.6716 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003939/0.9714, allocations: 1.461 MB / 0.6731 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.9715, allocations: 9.047 kB / 0.6731 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.9727, allocations: 211.7 kB / 0.6733 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.9728, allocations: 24.84 kB / 0.6733 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.9729, allocations: 23.98 kB / 0.6733 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.9752, allocations: 2.685 MB / 0.6759 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.9752, allocations: 11.91 kB / 0.676 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.9767, allocations: 0.8166 MB / 0.6768 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.9772, allocations: 192.1 kB / 0.6769 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.9774, allocations: 8 kB / 0.6769 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.9779, allocations: 39.97 kB / 0.677 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.9781, allocations: 31.97 kB / 0.677 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.8e-05/0.9782, allocations: 47.97 kB / 0.6771 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006785/0.9789, allocations: 435 kB / 0.6775 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9789, allocations: 0 / 0.6775 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001293/0.9802, allocations: 255.9 kB / 0.6777 GB, free: 12.19 MB / 0.5137 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.00114/0.9813, allocations: 288.4 kB / 0.678 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.9827, allocations: 0.5517 MB / 0.6785 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9828, allocations: 0 / 0.6785 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.9838, allocations: 410.3 kB / 0.6789 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.9859, allocations: 360.9 kB / 0.6793 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.9886, allocations: 1.596 MB / 0.6808 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.9892, allocations: 0.9261 MB / 0.6817 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.9897, allocations: 127.4 kB / 0.6818 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.9897, allocations: 0 / 0.6818 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of Templates: time 0.02594/1.016, allocations: 16.54 MB / 0.698 GB, free: 7.391 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p