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.0008769/0.0008769, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.001457/0.001457, allocations: 165.5 kB / 24.91 MB, free: 8.77 MB / 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 0.9357/0.9357, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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.2364/0.2364, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 266.7 MB " [Timeout remaining time 180] 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.182e-06/1.182e-06, allocations: 0 / 325.9 MB, free: 7.215 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.307e-05, allocations: 5.406 kB / 325.9 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.009616/0.009629, allocations: 12.46 MB / 338.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008859/0.01051, allocations: 1.391 MB / 339.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.01054, allocations: 0 / 339.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.01065, allocations: 27.83 kB / 339.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002952/0.01361, allocations: 2.233 MB / 342 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.01361, allocations: 8 kB / 342 MB, free: 7.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.719e-05/0.01368, allocations: 43.67 kB / 342.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.978e-05/0.01371, allocations: 3.984 kB / 342.1 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.01378, allocations: 31.8 kB / 342.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.025e-05/0.01381, allocations: 11.98 kB / 342.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.01382, allocations: 0 / 342.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.01719, allocations: 3.706 MB / 345.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.0172, allocations: 4 kB / 345.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.01722, allocations: 8 kB / 345.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.01914, allocations: 2.573 MB / 348.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.01914, allocations: 0 / 348.4 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.01914, allocations: 4 kB / 348.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.01915, allocations: 0 / 348.4 MB, free: 0.625 MB / 314.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.000696/0.01984, allocations: 479.9 kB / 348.9 MB, free: 136 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.01987, allocations: 11.97 kB / 348.9 MB, free: 124 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.01998, allocations: 20.86 kB / 348.9 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.352e-05/0.02005, allocations: 117.8 kB / 349 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.02006, allocations: 8.375 kB / 349 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.02007, allocations: 4.375 kB / 349 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.0202, allocations: 91.84 kB / 349.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.0202, allocations: 192 / 349.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-06/0.02021, allocations: 4.125 kB / 349.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.02021, allocations: 0 / 349.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.681e-05/0.02028, allocations: 31.97 kB / 349.1 MB, free: 15.81 MB / 330.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.0002294/0.02051, allocations: 260.3 kB / 349.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.0206, allocations: 54.53 kB / 349.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.02061, allocations: 8.859 kB / 349.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0104/0.03101, allocations: 7.04 MB / 356.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.03103, allocations: 34.56 kB / 356.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.03103, allocations: 0 / 356.5 MB, free: 8.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000223/0.03126, allocations: 101.7 kB / 356.6 MB, free: 8.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.03128, allocations: 51.41 kB / 356.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.03134, allocations: 114.7 kB / 356.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.03135, allocations: 25.7 kB / 356.8 MB, free: 8.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.03138, allocations: 92.02 kB / 356.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.03139, allocations: 11.91 kB / 356.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.03142, allocations: 21.7 kB / 356.9 MB, free: 7.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.03149, allocations: 314.8 kB / 357.3 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-06/0.03149, allocations: 12 kB / 357.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.03152, allocations: 26.58 kB / 357.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.03155, allocations: 34.48 kB / 357.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.03155, allocations: 0 / 357.3 MB, free: 7.512 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.924e-05/0.0316, allocations: 53.56 kB / 357.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.03161, allocations: 9.094 kB / 357.4 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.03162, allocations: 7.922 kB / 357.4 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.03163, allocations: 0 / 357.4 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.944e-05/0.03167, allocations: 12.06 kB / 357.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.03167, allocations: 4 kB / 357.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.03169, allocations: 7.953 kB / 357.4 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.0317, allocations: 4 kB / 357.4 MB, free: 7.41 MB / 330.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 4.671e-05/0.03174, allocations: 105.8 kB / 357.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.03176, allocations: 11.92 kB / 357.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.03195, allocations: 256 kB / 357.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.03195, allocations: 3.984 kB / 357.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.03196, allocations: 0 / 357.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.03196, allocations: 4 kB / 357.8 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.03208, allocations: 137.9 kB / 357.9 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03208, allocations: 4 kB / 357.9 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.647e-05/0.0321, allocations: 7.984 kB / 357.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.0321, allocations: 0 / 357.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.0321, allocations: 7.938 kB / 357.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.0321, allocations: 192 / 357.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.03211, allocations: 4 kB / 358 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.03222, allocations: 262.2 kB / 358.2 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.03223, allocations: 15.84 kB / 358.2 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.03224, allocations: 7.922 kB / 358.2 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.634e-05/0.03227, allocations: 8 kB / 358.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-06/0.03228, allocations: 0 / 358.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.03228, allocations: 0 / 358.2 MB, free: 6.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.995e-06/0.03229, allocations: 8.859 kB / 358.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03229, allocations: 0 / 358.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000578/0.03287, allocations: 447.4 kB / 358.7 MB, free: 6.09 MB / 330.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.001141/0.03401, allocations: 0.6656 MB / 359.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.03408, allocations: 48.77 kB / 359.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.03408, allocations: 4 kB / 359.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.03411, allocations: 36.78 kB / 359.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.03426, allocations: 15.98 kB / 359.5 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.03482, allocations: 299.6 kB / 359.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.603e-05/0.03485, allocations: 68.08 kB / 359.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.945e-05/0.0349, allocations: 30.58 kB / 359.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.03495, allocations: 63.38 kB / 359.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03495, allocations: 0 / 359.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of Templates: time 0.01281/0.04776, allocations: 15.3 MB / 375.2 MB, free: 5.5 MB / 346.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.127831614110619]