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.001555/0.001555, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001525/0.001525, allocations: 213.1 kB / 24.54 MB, free: 4.02 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.422/1.422, allocations: 230.3 MB / 258 MB, free: 8.219 MB / 206.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.2255/0.2255, allocations: 46.89 MB / 361.3 MB, free: 4.449 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 79.86 kB / 0.4966 GB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3105, allocations: 66.04 MB / 0.5611 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2086/0.519, allocations: 179 MB / 0.7358 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3069/0.826, allocations: 5.357 MB / 0.7411 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.8266, allocations: 27.47 kB / 0.7411 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007935/0.8273, allocations: 325.6 kB / 0.7414 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.8306, allocations: 1.38 MB / 0.7427 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.8331, allocations: 1.086 MB / 0.7438 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.8351, allocations: 1.883 MB / 0.7456 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005359/0.8356, allocations: 398 kB / 0.746 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.8379, allocations: 1.117 MB / 0.7471 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.8392, allocations: 0.802 MB / 0.7479 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.8394, allocations: 63.58 kB / 0.748 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.8409, allocations: 0.6444 MB / 0.7486 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.8411, allocations: 265.4 kB / 0.7488 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.8415, allocations: 396.5 kB / 0.7492 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.8432, allocations: 1.307 MB / 0.7505 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8432, allocations: 0.8125 kB / 0.7505 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8432, allocations: 3.938 kB / 0.7505 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.8432, allocations: 4.734 kB / 0.7505 GB, free: 1.57 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.002307/0.8455, allocations: 1.119 MB / 0.7516 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8455, allocations: 9.562 kB / 0.7516 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.8457, allocations: 101 kB / 0.7517 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007895/0.8464, allocations: 142.6 kB / 0.7518 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000971/0.8474, allocations: 0.5346 MB / 0.7524 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.8475, allocations: 106.6 kB / 0.7525 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.8476, allocations: 50.88 kB / 0.7525 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.8487, allocations: 0.8128 MB / 0.7533 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.8488, allocations: 4.094 kB / 0.7533 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.8488, allocations: 25.47 kB / 0.7533 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/0.8489, allocations: 44.47 kB / 0.7534 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009171/0.8498, allocations: 0.6164 MB / 0.754 GB, free: 16.31 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.004618/0.8544, allocations: 3.938 MB / 0.7578 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.8549, allocations: 340.4 kB / 0.7582 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.8552, allocations: 161.6 kB / 0.7583 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.8553, allocations: 89.02 kB / 0.7584 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.8553, allocations: 37.5 kB / 0.7584 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 3.777e-06/0.8554, allocations: 3.984 kB / 0.7584 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005219/0.8606, allocations: 1.685 MB / 0.7601 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.8607, allocations: 137 kB / 0.7602 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.8613, allocations: 0.616 MB / 0.7608 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.8613, allocations: 36.11 kB / 0.7608 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.8615, allocations: 371.9 kB / 0.7612 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.8616, allocations: 154.1 kB / 0.7613 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.8618, allocations: 157.6 kB / 0.7615 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.862, allocations: 371.5 kB / 0.7618 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.8623, allocations: 208.4 kB / 0.762 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.8628, allocations: 0.5115 MB / 0.7625 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008807/0.8637, allocations: 0.7508 MB / 0.7633 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8637, allocations: 2.781 kB / 0.7633 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001292/0.865, allocations: 0.8823 MB / 0.7641 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.865, allocations: 12.41 kB / 0.7642 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.865, allocations: 11.69 kB / 0.7642 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.8663, allocations: 310 kB / 0.7645 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.8666, allocations: 127.2 kB / 0.7646 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.8676, allocations: 0.9342 MB / 0.7655 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.8681, allocations: 30.69 kB / 0.7655 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.8682, allocations: 62.97 kB / 0.7656 GB, free: 10.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.000341/0.8686, allocations: 252.6 kB / 0.7658 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.8687, allocations: 72.55 kB / 0.7659 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.8701, allocations: 0.861 MB / 0.7667 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.8701, allocations: 5.625 kB / 0.7667 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8701, allocations: 0 / 0.7667 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.8701, allocations: 6.844 kB / 0.7667 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.872, allocations: 1.464 MB / 0.7682 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.872, allocations: 2.844 kB / 0.7682 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.8729, allocations: 209.7 kB / 0.7684 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.59e-05/0.873, allocations: 25.62 kB / 0.7684 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.8731, allocations: 23.53 kB / 0.7684 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/0.8753, allocations: 2.874 MB / 0.7712 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.8753, allocations: 5.75 kB / 0.7712 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.8765, allocations: 0.8179 MB / 0.772 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.8768, allocations: 193.9 kB / 0.7722 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/0.8769, allocations: 11.47 kB / 0.7722 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.8773, allocations: 17.5 kB / 0.7723 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.8774, allocations: 41.8 kB / 0.7723 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.8774, allocations: 44.91 kB / 0.7723 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004775/0.8779, allocations: 442.6 kB / 0.7728 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8779, allocations: 0 / 0.7728 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008909/0.8788, allocations: 256.6 kB / 0.773 GB, free: 6.551 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.001941/0.8807, allocations: 1.539 MB / 0.7745 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.8818, allocations: 0.5319 MB / 0.775 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8818, allocations: 4.641 kB / 0.775 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000905/0.8827, allocations: 402.8 kB / 0.7754 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.8844, allocations: 372.4 kB / 0.7758 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.8924, allocations: 6.336 MB / 0.782 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.893, allocations: 0.9351 MB / 0.7829 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000983/0.8939, allocations: 464.7 kB / 0.7833 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.8944, allocations: 290.8 kB / 0.7836 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.8944, allocations: 0 / 0.7836 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0607/0.9551, allocations: 24.96 MB / 0.808 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.91, allocations: 3.234 kB / 0.808 GB, free: 5.762 MB / 0.5919 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/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) [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: 16.973551282892004]