Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.00169/0.00169, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001417/0.001417, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2197/0.2197, allocations: 46.94 MB / 361.6 MB, free: 4.258 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.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_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_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3652, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01633/0.3815, allocations: 12.61 MB / 0.5742 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3831, allocations: 1.397 MB / 0.5755 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.048e-05/0.3831, allocations: 0 / 0.5755 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.3833, allocations: 31.86 kB / 0.5756 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.3892, allocations: 2.237 MB / 0.5778 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.847e-06/0.3892, allocations: 0 / 0.5778 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3893, allocations: 39.69 kB / 0.5778 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.353e-05/0.3894, allocations: 3.984 kB / 0.5778 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.3895, allocations: 16 kB / 0.5778 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.3895, allocations: 19.86 kB / 0.5778 GB, free: 3.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.3895, allocations: 3.938 kB / 0.5778 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007242/0.3968, allocations: 3.851 MB / 0.5816 GB, free: 140 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.3968, allocations: 4 kB / 0.5816 GB, free: 136 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.3968, allocations: 23.86 kB / 0.5816 GB, free: 112 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004346/0.4012, allocations: 1.976 MB / 0.5836 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4012, allocations: 0 / 0.5836 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4012, allocations: 8 kB / 0.5836 GB, free: 14.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.4012, allocations: 0 / 0.5836 GB, free: 14.12 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.001448/0.4027, allocations: 0.4889 MB / 0.584 GB, free: 13.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4027, allocations: 8.031 kB / 0.584 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.4029, allocations: 12.89 kB / 0.5841 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.403, allocations: 122.5 kB / 0.5842 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.403, allocations: 384 / 0.5842 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.403, allocations: 8.375 kB / 0.5842 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.4033, allocations: 91.44 kB / 0.5843 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4033, allocations: 0 / 0.5843 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4033, allocations: 4 kB / 0.5843 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4034, allocations: 0 / 0.5843 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.4035, allocations: 43.95 kB / 0.5843 GB, free: 13.28 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.0004693/0.404, allocations: 339.9 kB / 0.5846 GB, free: 12.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.4042, allocations: 62.53 kB / 0.5847 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.4042, allocations: 12.86 kB / 0.5847 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0191/0.4233, allocations: 5.648 MB / 0.5902 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.4233, allocations: 34.56 kB / 0.5903 GB, free: 7.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.4233, allocations: 0 / 0.5903 GB, free: 7.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000491/0.4238, allocations: 109.6 kB / 0.5904 GB, free: 7.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.4239, allocations: 51.41 kB / 0.5904 GB, free: 6.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.424, allocations: 101.8 kB / 0.5905 GB, free: 6.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.424, allocations: 25.7 kB / 0.5905 GB, free: 6.801 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.4241, allocations: 96.02 kB / 0.5906 GB, free: 6.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.4241, allocations: 11.84 kB / 0.5906 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.4241, allocations: 25.7 kB / 0.5907 GB, free: 6.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4243, allocations: 322.8 kB / 0.591 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/0.4243, allocations: 4 kB / 0.591 GB, free: 6.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.4243, allocations: 26.56 kB / 0.591 GB, free: 6.297 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.811e-05/0.4244, allocations: 38.52 kB / 0.591 GB, free: 6.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4244, allocations: 4 kB / 0.591 GB, free: 6.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001154/0.4245, allocations: 66 kB / 0.5911 GB, free: 6.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4245, allocations: 10.59 kB / 0.5911 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4245, allocations: 0 / 0.5911 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4245, allocations: 4 kB / 0.5911 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.4246, allocations: 12.03 kB / 0.5911 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4246, allocations: 0 / 0.5911 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.4247, allocations: 7.938 kB / 0.5911 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.4247, allocations: 7.938 kB / 0.5911 GB, free: 6.137 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.774e-05/0.4248, allocations: 121.8 kB / 0.5913 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.4248, allocations: 0 / 0.5913 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.4252, allocations: 383.2 kB / 0.5916 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4252, allocations: 11.98 kB / 0.5916 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4252, allocations: 0 / 0.5916 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.4253, allocations: 0 / 0.5916 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.4255, allocations: 261.2 kB / 0.5919 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4255, allocations: 0 / 0.5919 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.4256, allocations: 4 kB / 0.5919 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4256, allocations: 8 kB / 0.5919 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.4256, allocations: 192 / 0.5919 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4256, allocations: 4 kB / 0.5919 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4256, allocations: 0 / 0.5919 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.4259, allocations: 297.6 kB / 0.5922 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.4259, allocations: 15.84 kB / 0.5922 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4259, allocations: 3.984 kB / 0.5922 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.426, allocations: 0 / 0.5922 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.426, allocations: 11.94 kB / 0.5922 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.426, allocations: 0 / 0.5922 GB, free: 4.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.426, allocations: 91.2 kB / 0.5923 GB, free: 4.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.426, allocations: 0 / 0.5923 GB, free: 4.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001282/0.4273, allocations: 451.3 kB / 0.5927 GB, free: 4.434 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.002094/0.4294, allocations: 0.5492 MB / 0.5933 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4296, allocations: 91.84 kB / 0.5934 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4296, allocations: 0 / 0.5934 GB, free: 3.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.77e-05/0.4297, allocations: 67.97 kB / 0.5934 GB, free: 3.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.43, allocations: 11.98 kB / 0.5934 GB, free: 3.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.4306, allocations: 342.7 kB / 0.5938 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.4309, allocations: 0.7163 MB / 0.5945 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.4309, allocations: 15.42 kB / 0.5945 GB, free: 2.578 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4309, allocations: 0 / 0.5945 GB, free: 2.578 MB / 430.1 MB Notification: Performance of Templates: time 0.0159/0.4468, allocations: 9.03 MB / 0.6033 GB, free: 9.531 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.207937394967303]