Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 230.6 MB / 258.2 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.91 MB / 359.6 MB, free: 6.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.91 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 65.47 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2167/0.5193, allocations: 179 MB / 0.733 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2836/0.803, allocations: 5.372 MB / 0.7383 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/0.8036, allocations: 27.28 kB / 0.7383 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008988/0.8045, allocations: 321.3 kB / 0.7386 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.8078, allocations: 1.378 MB / 0.7399 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.8104, allocations: 1.081 MB / 0.741 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.8125, allocations: 1.876 MB / 0.7428 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005682/0.8131, allocations: 401.8 kB / 0.7432 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.8151, allocations: 1.113 MB / 0.7443 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.8163, allocations: 0.8016 MB / 0.7451 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.934e-05/0.8164, allocations: 60.53 kB / 0.7451 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.8177, allocations: 0.6465 MB / 0.7458 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.8179, allocations: 269.3 kB / 0.746 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.8183, allocations: 400.1 kB / 0.7464 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.8197, allocations: 1.303 MB / 0.7477 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8197, allocations: 1.203 kB / 0.7477 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8197, allocations: 3.469 kB / 0.7477 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.8197, allocations: 0 / 0.7477 GB, free: 1.652 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.002134/0.8219, allocations: 1.048 MB / 0.7487 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8219, allocations: 11.39 kB / 0.7487 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007911/0.8227, allocations: 142.4 kB / 0.7489 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.8235, allocations: 473.1 kB / 0.7493 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.8237, allocations: 162.4 kB / 0.7495 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.8238, allocations: 49.64 kB / 0.7495 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.8248, allocations: 0.814 MB / 0.7503 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.8248, allocations: 1.078 kB / 0.7503 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/0.8249, allocations: 26.11 kB / 0.7503 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.8249, allocations: 43.44 kB / 0.7504 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.8258, allocations: 0.6171 MB / 0.751 GB, free: 16.53 MB / 0.5762 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.004232/0.8301, allocations: 3.895 MB / 0.7548 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.8305, allocations: 344.7 kB / 0.7551 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.8308, allocations: 170.4 kB / 0.7553 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.332e-05/0.8309, allocations: 7.438 kB / 0.7553 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.8309, allocations: 43.94 kB / 0.7553 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.8309, allocations: 1.094 kB / 0.7553 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005151/0.836, allocations: 1.605 MB / 0.7569 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.8361, allocations: 135.7 kB / 0.757 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.8368, allocations: 0.6198 MB / 0.7576 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.8368, allocations: 34.8 kB / 0.7577 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.837, allocations: 375.8 kB / 0.758 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.8371, allocations: 155 kB / 0.7582 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.8373, allocations: 157.8 kB / 0.7583 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.8375, allocations: 370.9 kB / 0.7587 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.8378, allocations: 203.7 kB / 0.7589 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.8383, allocations: 0.5157 MB / 0.7594 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.8392, allocations: 0.7529 MB / 0.7601 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8392, allocations: 2.531 kB / 0.7601 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001258/0.8405, allocations: 0.8787 MB / 0.761 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.8405, allocations: 8.438 kB / 0.761 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8405, allocations: 10.78 kB / 0.761 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.8418, allocations: 307.8 kB / 0.7613 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.8422, allocations: 134.7 kB / 0.7614 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.8432, allocations: 0.9352 MB / 0.7623 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.8437, allocations: 31.53 kB / 0.7623 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.8438, allocations: 67.77 kB / 0.7624 GB, free: 11.13 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.000344/0.8441, allocations: 243.7 kB / 0.7626 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.8443, allocations: 75.64 kB / 0.7627 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.8457, allocations: 0.8654 MB / 0.7636 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8457, allocations: 3.188 kB / 0.7636 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8457, allocations: 0.9688 kB / 0.7636 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.8457, allocations: 2.812 kB / 0.7636 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.8475, allocations: 1.216 MB / 0.7648 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.8475, allocations: 4 kB / 0.7648 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009727/0.8485, allocations: 211.9 kB / 0.765 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-05/0.8486, allocations: 26.2 kB / 0.765 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.8486, allocations: 18.66 kB / 0.765 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.8509, allocations: 2.677 MB / 0.7676 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8509, allocations: 3.156 kB / 0.7676 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.852, allocations: 0.8215 MB / 0.7684 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.8523, allocations: 114.6 kB / 0.7685 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.8524, allocations: 12.81 kB / 0.7685 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.8528, allocations: 15.5 kB / 0.7686 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/0.8529, allocations: 47.95 kB / 0.7686 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.853, allocations: 44.81 kB / 0.7686 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004888/0.8535, allocations: 437.2 kB / 0.7691 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8535, allocations: 0.9375 kB / 0.7691 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008947/0.8543, allocations: 254.6 kB / 0.7693 GB, free: 7.641 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.0006951/0.855, allocations: 280 kB / 0.7696 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.8561, allocations: 0.5381 MB / 0.7701 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8561, allocations: 0 / 0.7701 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.857, allocations: 399 kB / 0.7705 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.8586, allocations: 361.3 kB / 0.7708 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.8609, allocations: 1.411 MB / 0.7722 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.8615, allocations: 0.9269 MB / 0.7731 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.8619, allocations: 127 kB / 0.7732 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.8619, allocations: 0 / 0.7732 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.02338/0.8852, allocations: 16.67 MB / 0.7895 GB, free: 2.273 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.144221712136641]