Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.006151/0.006151, allocations: 109.8 kB / 21.98 MB, free: 5.184 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.00171/0.00171, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.437/1.437, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.93 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 71.88 kB / 0.4982 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3381, allocations: 66.08 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2199/0.5581, allocations: 179 MB / 0.7375 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3207/0.8788, allocations: 5.369 MB / 0.7427 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008814/0.8797, allocations: 29.36 kB / 0.7428 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009595/0.8806, allocations: 329.2 kB / 0.7431 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.8846, allocations: 1.377 MB / 0.7444 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.8878, allocations: 1.077 MB / 0.7455 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002691/0.8905, allocations: 1.876 MB / 0.7473 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006801/0.8911, allocations: 391.5 kB / 0.7477 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.8941, allocations: 1.116 MB / 0.7488 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.8956, allocations: 0.8057 MB / 0.7496 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.8957, allocations: 58.25 kB / 0.7496 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.8972, allocations: 0.6503 MB / 0.7503 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.8975, allocations: 274.5 kB / 0.7505 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.898, allocations: 392.8 kB / 0.7509 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.8999, allocations: 1.308 MB / 0.7522 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8999, allocations: 2.953 kB / 0.7522 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8999, allocations: 0 / 0.7522 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.8999, allocations: 4.188 kB / 0.7522 GB, free: 1.598 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.002285/0.9022, allocations: 1.042 MB / 0.7532 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9022, allocations: 8.625 kB / 0.7532 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.903, allocations: 146.2 kB / 0.7533 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.9039, allocations: 472.5 kB / 0.7538 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.904, allocations: 104.5 kB / 0.7539 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.9041, allocations: 57.8 kB / 0.7539 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.9052, allocations: 0.8074 MB / 0.7547 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.9052, allocations: 6.25 kB / 0.7547 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.9053, allocations: 30.23 kB / 0.7548 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.9053, allocations: 42.05 kB / 0.7548 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.9062, allocations: 0.6227 MB / 0.7554 GB, free: 16.54 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.004549/0.9108, allocations: 3.887 MB / 0.7592 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.9113, allocations: 338.3 kB / 0.7595 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.9115, allocations: 166.9 kB / 0.7597 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.975e-05/0.9116, allocations: 11.14 kB / 0.7597 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.9117, allocations: 42.05 kB / 0.7597 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/0.9117, allocations: 3.984 kB / 0.7597 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005236/0.9169, allocations: 1.609 MB / 0.7613 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.917, allocations: 133.6 kB / 0.7614 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006923/0.9177, allocations: 0.6155 MB / 0.762 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.9178, allocations: 36.14 kB / 0.7621 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.918, allocations: 376.5 kB / 0.7624 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.283e-05/0.9181, allocations: 155 kB / 0.7626 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.9183, allocations: 153.7 kB / 0.7627 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.9185, allocations: 376.4 kB / 0.7631 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/0.9188, allocations: 203.5 kB / 0.7633 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.9194, allocations: 0.5158 MB / 0.7638 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009388/0.9203, allocations: 0.7505 MB / 0.7645 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9203, allocations: 4.688 kB / 0.7645 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001315/0.9216, allocations: 0.8763 MB / 0.7654 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.9217, allocations: 13.31 kB / 0.7654 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.9217, allocations: 12.59 kB / 0.7654 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.923, allocations: 319 kB / 0.7657 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.9233, allocations: 119.2 kB / 0.7658 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.9244, allocations: 0.9295 MB / 0.7667 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.925, allocations: 34.7 kB / 0.7668 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.9251, allocations: 65.44 kB / 0.7668 GB, free: 11.14 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.0003874/0.9254, allocations: 253.4 kB / 0.7671 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.9256, allocations: 69.12 kB / 0.7671 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.927, allocations: 0.8571 MB / 0.768 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.927, allocations: 5.188 kB / 0.768 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.927, allocations: 0 / 0.768 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.9271, allocations: 11.19 kB / 0.768 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.929, allocations: 1.207 MB / 0.7692 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.929, allocations: 2.625 kB / 0.7692 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.93, allocations: 213.8 kB / 0.7694 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.603e-05/0.9301, allocations: 27.06 kB / 0.7694 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.9301, allocations: 24.48 kB / 0.7694 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.9324, allocations: 2.667 MB / 0.772 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9324, allocations: 8.312 kB / 0.772 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.9337, allocations: 0.8162 MB / 0.7728 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.934, allocations: 118.6 kB / 0.7729 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.9341, allocations: 6.531 kB / 0.773 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.9345, allocations: 19.48 kB / 0.773 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.721e-05/0.9346, allocations: 41.17 kB / 0.773 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.9347, allocations: 47.39 kB / 0.7731 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000506/0.9352, allocations: 442.5 kB / 0.7735 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9352, allocations: 1.094 kB / 0.7735 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009047/0.9361, allocations: 253.2 kB / 0.7737 GB, free: 7.656 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.0006288/0.9367, allocations: 284.9 kB / 0.774 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.9378, allocations: 0.5376 MB / 0.7745 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.9378, allocations: 0 / 0.7745 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008903/0.9387, allocations: 398 kB / 0.7749 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.9402, allocations: 363.4 kB / 0.7752 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.9425, allocations: 1.403 MB / 0.7766 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.943, allocations: 0.9246 MB / 0.7775 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.9434, allocations: 128.8 kB / 0.7776 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.9434, allocations: 0 / 0.7776 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.02147/0.9648, allocations: 16.68 MB / 0.7939 GB, free: 1.82 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.129775805864483]