Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002561/0.002561, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.003018/0.003018, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.572/1.572, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3952/0.3952, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.611e-05, allocations: 2.312 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01962/0.01966, allocations: 12.43 MB / 389.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.02156, allocations: 1.382 MB / 391 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.02159, allocations: 0 / 391 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.02178, allocations: 31.83 kB / 391 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006785/0.02857, allocations: 2.233 MB / 393.3 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.491e-06/0.02857, allocations: 0 / 393.3 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.02868, allocations: 39.69 kB / 393.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.02872, allocations: 11.98 kB / 393.3 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.02884, allocations: 23.91 kB / 393.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.02889, allocations: 15.94 kB / 393.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.02892, allocations: 0 / 393.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007408/0.03633, allocations: 3.702 MB / 397.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.03635, allocations: 4 kB / 397.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.03639, allocations: 11.94 kB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.04251, allocations: 2.573 MB / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.04252, allocations: 0 / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.04252, allocations: 0 / 399.6 MB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.04253, allocations: 0 / 399.6 MB, free: 12.38 MB / 378.7 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.001589/0.04412, allocations: 0.5884 MB / 400.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.04416, allocations: 8.031 kB / 400.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.04437, allocations: 20.86 kB / 400.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.04448, allocations: 108.6 kB / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.0445, allocations: 384 / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.04451, allocations: 12.31 kB / 400.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.04477, allocations: 93.58 kB / 400.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.04478, allocations: 192 / 400.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.0448, allocations: 12.12 kB / 400.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.0448, allocations: 0 / 400.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.04497, allocations: 43.95 kB / 400.5 MB, free: 11.42 MB / 378.7 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.0005063/0.04547, allocations: 410.5 kB / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.04566, allocations: 67 kB / 401 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.0457, allocations: 19.77 kB / 401 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/0.06625, allocations: 5.649 MB / 406.7 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.06631, allocations: 41.39 kB / 406.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.06631, allocations: 0 / 406.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005294/0.06684, allocations: 117.6 kB / 406.8 MB, free: 5.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.06688, allocations: 51.41 kB / 406.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.06702, allocations: 169.9 kB / 407 MB, free: 4.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.06704, allocations: 25.7 kB / 407.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.06713, allocations: 134.8 kB / 407.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.06715, allocations: 23.83 kB / 407.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.167e-05/0.0672, allocations: 27.36 kB / 407.2 MB, free: 4.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.06746, allocations: 0.4884 MB / 407.7 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.06748, allocations: 4 kB / 407.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.06754, allocations: 46.98 kB / 407.8 MB, free: 4.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.06763, allocations: 47 kB / 407.8 MB, free: 3.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.06763, allocations: 3.938 kB / 407.8 MB, free: 3.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001254/0.06776, allocations: 73.56 kB / 407.9 MB, free: 3.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.06777, allocations: 8.062 kB / 407.9 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.06778, allocations: 0 / 407.9 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.0678, allocations: 4 kB / 407.9 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.397e-05/0.06787, allocations: 8 kB / 407.9 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.06788, allocations: 0 / 407.9 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.768e-05/0.06791, allocations: 0 / 407.9 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.06791, allocations: 4 kB / 407.9 MB, free: 3.859 MB / 378.7 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 0.0001219/0.06804, allocations: 164.5 kB / 408.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.06806, allocations: 3.984 kB / 408.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.06842, allocations: 249.2 kB / 408.3 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.06843, allocations: 3.984 kB / 408.3 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.06843, allocations: 4 kB / 408.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.06844, allocations: 0 / 408.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.06869, allocations: 185.3 kB / 408.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.06869, allocations: 3.938 kB / 408.5 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.06872, allocations: 8 kB / 408.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.06872, allocations: 0 / 408.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.06873, allocations: 0 / 408.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.06873, allocations: 0 / 408.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.06873, allocations: 0 / 408.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.06903, allocations: 306.5 kB / 408.8 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.06905, allocations: 19.81 kB / 408.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.06906, allocations: 0 / 408.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.06911, allocations: 0 / 408.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.06913, allocations: 4 kB / 408.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.06913, allocations: 0 / 408.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.686e-05/0.06921, allocations: 131.2 kB / 409 MB, free: 2.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06921, allocations: 0 / 409 MB, free: 2.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001432/0.07064, allocations: 451.3 kB / 409.4 MB, free: 2.285 MB / 378.7 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.001859/0.0725, allocations: 0.6357 MB / 410.1 MB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.07265, allocations: 59.55 kB / 410.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.07266, allocations: 0 / 410.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.07273, allocations: 55.61 kB / 410.2 MB, free: 1.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.07304, allocations: 27.97 kB / 410.2 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.07355, allocations: 274.6 kB / 410.5 MB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.07365, allocations: 98.05 kB / 410.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.07372, allocations: 19.97 kB / 410.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.07375, allocations: 16.5 kB / 410.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.07375, allocations: 0 / 410.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of Templates: time 0.02368/0.09743, allocations: 14.25 MB / 424.8 MB, free: 2.793 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.6219572180416435]