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.001269/0.001269, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001416/0.001416, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.405/1.405, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.2214/0.2214, allocations: 46.89 MB / 361.1 MB, free: 4.648 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.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.002343/0.002343, allocations: 80.19 kB / 0.4967 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3403, allocations: 65.99 MB / 0.5612 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0172/0.3575, allocations: 12.6 MB / 0.5735 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3591, allocations: 1.409 MB / 0.5749 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.3592, allocations: 0 / 0.5749 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.3594, allocations: 35.8 kB / 0.5749 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006581/0.366, allocations: 2.229 MB / 0.5771 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.796e-06/0.366, allocations: 4 kB / 0.5771 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3661, allocations: 35.73 kB / 0.5771 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.3661, allocations: 4 kB / 0.5771 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/0.3662, allocations: 19.92 kB / 0.5771 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.751e-05/0.3663, allocations: 15.92 kB / 0.5771 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.3663, allocations: 0 / 0.5771 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007453/0.3737, allocations: 3.855 MB / 0.5809 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.3737, allocations: 0 / 0.5809 GB, free: 0.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.3738, allocations: 11.94 kB / 0.5809 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.3775, allocations: 1.984 MB / 0.5829 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3775, allocations: 3.938 kB / 0.5829 GB, free: 14.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3775, allocations: 4 kB / 0.5829 GB, free: 14.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3775, allocations: 0 / 0.5829 GB, free: 14.79 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.001228/0.3788, allocations: 0.5642 MB / 0.5834 GB, free: 14.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3788, allocations: 8.031 kB / 0.5834 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.379, allocations: 16.88 kB / 0.5834 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3791, allocations: 164.3 kB / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3791, allocations: 8.375 kB / 0.5836 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3792, allocations: 384 / 0.5836 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3794, allocations: 99.48 kB / 0.5837 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3794, allocations: 3.938 kB / 0.5837 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3795, allocations: 3.984 kB / 0.5837 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3795, allocations: 3.938 kB / 0.5837 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3796, allocations: 39.97 kB / 0.5838 GB, free: 13.78 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.0004748/0.3801, allocations: 369 kB / 0.5841 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3803, allocations: 62.47 kB / 0.5842 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.3803, allocations: 12.86 kB / 0.5842 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/0.4042, allocations: 10.41 MB / 0.5943 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.4042, allocations: 46.55 kB / 0.5944 GB, free: 1.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.4042, allocations: 0 / 0.5944 GB, free: 1.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004822/0.4047, allocations: 97.62 kB / 0.5945 GB, free: 1.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.4048, allocations: 51.41 kB / 0.5945 GB, free: 1.461 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.4049, allocations: 113.7 kB / 0.5946 GB, free: 1.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4049, allocations: 25.7 kB / 0.5947 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.405, allocations: 84.09 kB / 0.5947 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.405, allocations: 15.91 kB / 0.5948 GB, free: 1.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.405, allocations: 25.7 kB / 0.5948 GB, free: 1.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4052, allocations: 314.8 kB / 0.5951 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.4052, allocations: 11.94 kB / 0.5951 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.4052, allocations: 30.56 kB / 0.5951 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.4053, allocations: 34.52 kB / 0.5952 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4053, allocations: 4 kB / 0.5952 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001172/0.4054, allocations: 61.62 kB / 0.5952 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4054, allocations: 11.98 kB / 0.5952 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4054, allocations: 0 / 0.5952 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4055, allocations: 0 / 0.5952 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.4055, allocations: 8 kB / 0.5952 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4055, allocations: 4 kB / 0.5952 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.4056, allocations: 11.89 kB / 0.5953 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4056, allocations: 4 kB / 0.5953 GB, free: 0.6562 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.248e-05/0.4057, allocations: 113.8 kB / 0.5954 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4057, allocations: 4 kB / 0.5954 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.4062, allocations: 374.9 kB / 0.5957 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4062, allocations: 3.984 kB / 0.5957 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4062, allocations: 0 / 0.5957 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.4062, allocations: 96.95 kB / 0.5958 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.4063, allocations: 3.938 kB / 0.5958 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.036e-05/0.4063, allocations: 0 / 0.5958 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.4063, allocations: 8 kB / 0.5958 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002957/0.4066, allocations: 265.9 kB / 0.5961 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003188/0.4069, allocations: 359.4 kB / 0.5964 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.573e-05/0.407, allocations: 63.84 kB / 0.5965 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.634e-05/0.4071, allocations: 83.22 kB / 0.5966 GB, free: 15.25 MB / 446.1 MB Notification: Performance of Backend: time 7.41e-07/0.4071, allocations: 0 / 0.5966 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.4098, allocations: 0.7233 MB / 0.5973 GB, free: 14.53 MB / 446.1 MB Notification: Performance of SimCode: time 0.000647/0.4105, allocations: 0.6529 MB / 0.5979 GB, free: 13.82 MB / 446.1 MB Notification: Performance of Templates: time 0.02447/0.4349, allocations: 16.43 MB / 0.614 GB, free: 13.37 MB / 462.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.440688395872712]