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.001275/0.001275, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001294/0.001294, allocations: 209.2 kB / 24.51 MB, free: 3.941 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.375/1.375, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.2181/0.2181, allocations: 46.95 MB / 361.6 MB, free: 3.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 75.88 kB / 0.4969 GB, free: 7.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.29, allocations: 66.09 MB / 0.5615 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1837/0.4737, allocations: 154.5 MB / 0.7124 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007954/0.4817, allocations: 4.923 MB / 0.7172 GB, free: 3.855 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/0.4823, allocations: 23.75 kB / 0.7172 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.4833, allocations: 306 kB / 0.7175 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.487, allocations: 1.372 MB / 0.7188 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.4897, allocations: 1.07 MB / 0.7199 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002447/0.4921, allocations: 1.875 MB / 0.7217 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008158/0.4929, allocations: 389.6 kB / 0.7221 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002401/0.4953, allocations: 1.125 MB / 0.7232 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.4968, allocations: 0.7822 MB / 0.7239 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.4969, allocations: 60 kB / 0.724 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.4983, allocations: 0.5657 MB / 0.7245 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.4987, allocations: 275.2 kB / 0.7248 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.4993, allocations: 334.6 kB / 0.7251 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.5016, allocations: 1.304 MB / 0.7264 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5016, allocations: 0 / 0.7264 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5016, allocations: 0 / 0.7264 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.5016, allocations: 0 / 0.7264 GB, free: 10.38 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.002527/0.5041, allocations: 1.041 MB / 0.7274 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.5042, allocations: 12.03 kB / 0.7274 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.49e-05/0.5042, allocations: 13 kB / 0.7274 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.5044, allocations: 94.52 kB / 0.7275 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.5053, allocations: 155.3 kB / 0.7277 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5063, allocations: 481.4 kB / 0.7281 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.5064, allocations: 155.8 kB / 0.7283 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.5065, allocations: 48 kB / 0.7283 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.5081, allocations: 1.147 MB / 0.7294 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.5081, allocations: 4 kB / 0.7294 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/0.5082, allocations: 27.98 kB / 0.7295 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/0.5083, allocations: 36.98 kB / 0.7295 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.5094, allocations: 0.6243 MB / 0.7301 GB, free: 6.309 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.004523/0.5139, allocations: 3.297 MB / 0.7333 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.5145, allocations: 339.7 kB / 0.7337 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.5148, allocations: 161.3 kB / 0.7338 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.23e-05/0.5149, allocations: 12.28 kB / 0.7338 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.5149, allocations: 46.77 kB / 0.7339 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.5149, allocations: 0 / 0.7339 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005627/0.5206, allocations: 1.613 MB / 0.7355 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.5207, allocations: 136.5 kB / 0.7356 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2196/0.7402, allocations: 0.6074 MB / 0.7362 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.7403, allocations: 37.48 kB / 0.7362 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.7406, allocations: 374 kB / 0.7366 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.7407, allocations: 153.7 kB / 0.7367 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.741, allocations: 156 kB / 0.7369 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7411, allocations: 376.2 kB / 0.7372 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/0.7415, allocations: 207.7 kB / 0.7374 GB, free: 175 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005657/0.7421, allocations: 0.5893 MB / 0.738 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.743, allocations: 0.7473 MB / 0.7387 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.743, allocations: 2.906 kB / 0.7387 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001426/0.7444, allocations: 0.8798 MB / 0.7396 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7445, allocations: 10.25 kB / 0.7396 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7445, allocations: 10.27 kB / 0.7396 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.7458, allocations: 320.8 kB / 0.7399 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.7461, allocations: 127.4 kB / 0.74 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008378/0.747, allocations: 0.9235 MB / 0.7409 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.7474, allocations: 30.03 kB / 0.741 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.7475, allocations: 68.11 kB / 0.741 GB, free: 172.8 MB / 0.5606 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.0002601/0.7478, allocations: 252.7 kB / 0.7413 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.7479, allocations: 73.39 kB / 0.7413 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.7492, allocations: 0.8597 MB / 0.7422 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7492, allocations: 7.062 kB / 0.7422 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7492, allocations: 5.844 kB / 0.7422 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7492, allocations: 0 / 0.7422 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.7506, allocations: 1.139 MB / 0.7433 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7506, allocations: 5.656 kB / 0.7433 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.7516, allocations: 210.8 kB / 0.7435 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.695e-05/0.7517, allocations: 24.14 kB / 0.7435 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.7517, allocations: 19.89 kB / 0.7436 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.7529, allocations: 2.664 MB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7529, allocations: 4.031 kB / 0.7462 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.7538, allocations: 0.8201 MB / 0.747 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.754, allocations: 122.9 kB / 0.7471 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.754, allocations: 12 kB / 0.7471 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.7544, allocations: 19.41 kB / 0.7471 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.7545, allocations: 45.28 kB / 0.7471 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.7545, allocations: 41.02 kB / 0.7472 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003523/0.7549, allocations: 445.4 kB / 0.7476 GB, free: 167 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7549, allocations: 4 kB / 0.7476 GB, free: 167 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007979/0.7557, allocations: 254.3 kB / 0.7479 GB, free: 166.8 MB / 0.5606 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.001508/0.7572, allocations: 1.525 MB / 0.7493 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008959/0.7581, allocations: 0.5326 MB / 0.7499 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7581, allocations: 1.562 kB / 0.7499 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.7589, allocations: 409.4 kB / 0.7503 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7603, allocations: 387.6 kB / 0.7506 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.7663, allocations: 6.337 MB / 0.7568 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.7665, allocations: 332.4 kB / 0.7571 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007909/0.7673, allocations: 459.1 kB / 0.7576 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.7677, allocations: 287.3 kB / 0.7578 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.7677, allocations: 0 / 0.7578 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04614/0.8138, allocations: 25.42 MB / 0.7827 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.42, allocations: 7.938 kB / 0.7827 GB, free: 131.1 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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] Reference file matches [Calling sys.exit(0), Time elapsed: 17.641820012009703]