Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001407/0.001407, allocations: 123 kB / 17.79 MB, free: 5.227 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.001615/0.001615, allocations: 203.3 kB / 20.75 MB, free: 2.277 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.597/1.597, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 46.93 MB / 357.1 MB, free: 10.32 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+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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 59.89 kB / 0.4914 GB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1411, allocations: 66 MB / 0.5559 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5105/0.6516, allocations: 178.7 MB / 0.7304 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008795/0.6604, allocations: 5.358 MB / 0.7356 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008611/0.6613, allocations: 27.75 kB / 0.7357 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.6625, allocations: 322 kB / 0.736 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.6665, allocations: 1.359 MB / 0.7373 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.6698, allocations: 1.053 MB / 0.7383 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.6727, allocations: 1.856 MB / 0.7401 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000739/0.6734, allocations: 413.3 kB / 0.7405 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.6762, allocations: 1.106 MB / 0.7416 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.6777, allocations: 0.7978 MB / 0.7424 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.6779, allocations: 60 kB / 0.7425 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.6794, allocations: 0.6398 MB / 0.7431 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.6797, allocations: 263.2 kB / 0.7433 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.6802, allocations: 398.2 kB / 0.7437 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.6821, allocations: 1.308 MB / 0.745 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6821, allocations: 0 / 0.745 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6821, allocations: 0 / 0.745 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.6822, allocations: 0 / 0.745 GB, free: 15.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.002484/0.6846, allocations: 1.125 MB / 0.7461 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6847, allocations: 8.031 kB / 0.7461 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.6856, allocations: 143.4 kB / 0.7462 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.6866, allocations: 0.528 MB / 0.7467 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.6867, allocations: 108.4 kB / 0.7468 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.6868, allocations: 44 kB / 0.7469 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6882, allocations: 0.8175 MB / 0.7477 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.6883, allocations: 3.938 kB / 0.7477 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.6883, allocations: 24 kB / 0.7477 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.637e-05/0.6884, allocations: 44.91 kB / 0.7478 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.6896, allocations: 0.6204 MB / 0.7484 GB, free: 11.74 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.005332/0.695, allocations: 3.933 MB / 0.7522 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006846/0.6956, allocations: 341.8 kB / 0.7525 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.696, allocations: 165.3 kB / 0.7527 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.6961, allocations: 101.3 kB / 0.7528 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.6962, allocations: 38.84 kB / 0.7528 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.464e-06/0.6962, allocations: 0 / 0.7528 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006379/0.7025, allocations: 1.684 MB / 0.7545 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.7027, allocations: 132.5 kB / 0.7546 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.7035, allocations: 0.6172 MB / 0.7552 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.7036, allocations: 33.7 kB / 0.7552 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.7039, allocations: 375.8 kB / 0.7556 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.7041, allocations: 150.7 kB / 0.7557 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.7043, allocations: 158.5 kB / 0.7559 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002668/0.7046, allocations: 378.8 kB / 0.7562 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.705, allocations: 209.8 kB / 0.7564 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.7057, allocations: 0.5124 MB / 0.7569 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.7069, allocations: 0.7516 MB / 0.7577 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7069, allocations: 0 / 0.7577 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001705/0.7086, allocations: 0.8801 MB / 0.7585 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7087, allocations: 12 kB / 0.7585 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7087, allocations: 8 kB / 0.7586 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.7103, allocations: 322.1 kB / 0.7589 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.7107, allocations: 119.8 kB / 0.759 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.7121, allocations: 0.9309 MB / 0.7599 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.7126, allocations: 27.98 kB / 0.7599 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.7127, allocations: 64 kB / 0.76 GB, free: 15.11 MB / 0.5763 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.0004129/0.7131, allocations: 254 kB / 0.7602 GB, free: 14.85 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.7133, allocations: 71.58 kB / 0.7603 GB, free: 14.78 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.7151, allocations: 0.8616 MB / 0.7611 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.7151, allocations: 8 kB / 0.7611 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7151, allocations: 4 kB / 0.7611 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7151, allocations: 0 / 0.7611 GB, free: 13.88 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.7175, allocations: 1.462 MB / 0.7626 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7175, allocations: 4 kB / 0.7626 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.7187, allocations: 207.8 kB / 0.7628 GB, free: 12.08 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.7188, allocations: 24.84 kB / 0.7628 GB, free: 12.05 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.7188, allocations: 16 kB / 0.7628 GB, free: 12.04 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.7214, allocations: 2.886 MB / 0.7656 GB, free: 8.871 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7214, allocations: 0 / 0.7656 GB, free: 8.871 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.7229, allocations: 0.823 MB / 0.7664 GB, free: 8.012 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.7233, allocations: 184.6 kB / 0.7666 GB, free: 7.812 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.7234, allocations: 12 kB / 0.7666 GB, free: 7.801 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.7238, allocations: 15.98 kB / 0.7666 GB, free: 7.785 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.7239, allocations: 39.89 kB / 0.7667 GB, free: 7.746 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.724, allocations: 43.98 kB / 0.7667 GB, free: 7.703 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0006217/0.7246, allocations: 451 kB / 0.7671 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.7246, allocations: 0 / 0.7671 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001015/0.7256, allocations: 251.8 kB / 0.7674 GB, free: 7.023 MB / 0.5763 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.0007235/0.7263, allocations: 294.6 kB / 0.7677 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.7277, allocations: 0.5386 MB / 0.7682 GB, free: 6.195 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7277, allocations: 4 kB / 0.7682 GB, free: 6.191 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.7288, allocations: 411 kB / 0.7686 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.7306, allocations: 364.5 kB / 0.7689 GB, free: 5.43 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.7331, allocations: 1.348 MB / 0.7702 GB, free: 4.035 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006683/0.7338, allocations: 0.93 MB / 0.7712 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.001072/0.7349, allocations: 459.8 kB / 0.7716 GB, free: 2.629 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.7352, allocations: 111.4 kB / 0.7717 GB, free: 2.52 MB / 0.5763 GB Notification: Performance of SimCode: time 5.61e-07/0.7352, allocations: 0 / 0.7717 GB, free: 2.52 MB / 0.5763 GB Notification: Performance of Templates: time 0.03333/0.7685, allocations: 17.7 MB / 0.789 GB, free: 0.957 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.424471560865641]