Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.007594/0.007594, allocations: 106.5 kB / 21.98 MB, free: 5.227 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.001916/0.001916, allocations: 222.4 kB / 25.3 MB, free: 3.191 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.428/1.428, allocations: 230.5 MB / 258.9 MB, free: 8 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.2481/0.2481, allocations: 46.92 MB / 362.3 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [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.002314/0.002314, allocations: 79.86 kB / 0.4982 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3638, allocations: 66.08 MB / 0.5627 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01702/0.3808, allocations: 12.61 MB / 0.575 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.3824, allocations: 1.397 MB / 0.5764 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.639e-05/0.3824, allocations: 0 / 0.5764 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3826, allocations: 35.8 kB / 0.5764 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007302/0.3899, allocations: 2.233 MB / 0.5786 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.166e-06/0.3899, allocations: 0 / 0.5786 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3901, allocations: 39.69 kB / 0.5787 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.3901, allocations: 7.984 kB / 0.5787 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/0.3902, allocations: 8 kB / 0.5787 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.3903, allocations: 15.94 kB / 0.5787 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3903, allocations: 0 / 0.5787 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007352/0.3976, allocations: 3.863 MB / 0.5825 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.3976, allocations: 0 / 0.5825 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.3977, allocations: 19.81 kB / 0.5825 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.4013, allocations: 1.98 MB / 0.5844 GB, free: 13.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.4013, allocations: 3.938 kB / 0.5844 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4013, allocations: 4 kB / 0.5844 GB, free: 13.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4013, allocations: 0 / 0.5844 GB, free: 13.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001154/0.4024, allocations: 0.4889 MB / 0.5849 GB, free: 13.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4025, allocations: 8.031 kB / 0.5849 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.4026, allocations: 16.89 kB / 0.5849 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4028, allocations: 114.4 kB / 0.585 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.4028, allocations: 384 / 0.585 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.4028, allocations: 4.375 kB / 0.585 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.4031, allocations: 91.5 kB / 0.5851 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4031, allocations: 0 / 0.5851 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.4031, allocations: 0 / 0.5851 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4031, allocations: 4 kB / 0.5851 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.4033, allocations: 51.89 kB / 0.5852 GB, free: 13.14 MB / 430.1 MB 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.0004736/0.4037, allocations: 336 kB / 0.5855 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4039, allocations: 62.52 kB / 0.5855 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.4039, allocations: 20.8 kB / 0.5856 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.422, allocations: 5.644 MB / 0.5911 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.422, allocations: 34.56 kB / 0.5911 GB, free: 6.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.033e-06/0.422, allocations: 4 kB / 0.5911 GB, free: 6.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004845/0.4225, allocations: 101.6 kB / 0.5912 GB, free: 6.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4225, allocations: 51.41 kB / 0.5913 GB, free: 6.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.4226, allocations: 101.8 kB / 0.5914 GB, free: 6.695 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4227, allocations: 29.7 kB / 0.5914 GB, free: 6.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.4227, allocations: 88.03 kB / 0.5915 GB, free: 6.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.4227, allocations: 15.84 kB / 0.5915 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.4228, allocations: 21.72 kB / 0.5915 GB, free: 6.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4229, allocations: 326.7 kB / 0.5918 GB, free: 6.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.423, allocations: 4 kB / 0.5918 GB, free: 6.195 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.423, allocations: 34.56 kB / 0.5919 GB, free: 6.152 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.4231, allocations: 34.58 kB / 0.5919 GB, free: 6.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4231, allocations: 4 kB / 0.5919 GB, free: 6.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001052/0.4232, allocations: 61.62 kB / 0.592 GB, free: 6.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4232, allocations: 8 kB / 0.592 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4232, allocations: 3.938 kB / 0.592 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4232, allocations: 0 / 0.592 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.4233, allocations: 11.98 kB / 0.592 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4233, allocations: 4 kB / 0.592 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.4233, allocations: 3.953 kB / 0.592 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.4233, allocations: 7.938 kB / 0.592 GB, free: 6 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.898e-05/0.4234, allocations: 113.9 kB / 0.5921 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.4235, allocations: 4 kB / 0.5921 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.4239, allocations: 395 kB / 0.5925 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4239, allocations: 3.984 kB / 0.5925 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.4239, allocations: 4 kB / 0.5925 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4239, allocations: 0 / 0.5925 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.4242, allocations: 269.6 kB / 0.5927 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4242, allocations: 0 / 0.5927 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.4243, allocations: 4 kB / 0.5927 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4243, allocations: 4 kB / 0.5928 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4243, allocations: 0 / 0.5928 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4243, allocations: 0 / 0.5928 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4243, allocations: 7.984 kB / 0.5928 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.4246, allocations: 289.7 kB / 0.593 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.4246, allocations: 27.78 kB / 0.5931 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4246, allocations: 3.984 kB / 0.5931 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.4246, allocations: 3.938 kB / 0.5931 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.4247, allocations: 4 kB / 0.5931 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4247, allocations: 4 kB / 0.5931 GB, free: 4.812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.796e-05/0.4247, allocations: 91.2 kB / 0.5932 GB, free: 4.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4247, allocations: 0 / 0.5932 GB, free: 4.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4259, allocations: 443.3 kB / 0.5936 GB, free: 4.289 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.4276, allocations: 0.5596 MB / 0.5941 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.4278, allocations: 91.84 kB / 0.5942 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4278, allocations: 0 / 0.5942 GB, free: 3.633 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/0.4279, allocations: 67.97 kB / 0.5943 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.4282, allocations: 8 kB / 0.5943 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.4287, allocations: 346.7 kB / 0.5946 GB, free: 3.184 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4291, allocations: 0.7086 MB / 0.5953 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.4291, allocations: 11.44 kB / 0.5953 GB, free: 2.438 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4291, allocations: 0 / 0.5953 GB, free: 2.438 MB / 430.1 MB Notification: Performance of Templates: time 0.01552/0.4446, allocations: 9.046 MB / 0.6042 GB, free: 9.379 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 8.214661601930857]