Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001651/0.001652, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.427/2.427, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 71.88 kB / 417.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2107, allocations: 62.44 MB / 479.9 MB, free: 9.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.01133/0.2221, allocations: 5.05 MB / 485 MB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008285/0.2305, allocations: 4.591 MB / 489.6 MB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.2308, allocations: 0 / 489.6 MB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.2314, allocations: 47.73 kB / 489.6 MB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003532/0.235, allocations: 0.614 MB / 490.2 MB, free: 14.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.2357, allocations: 150.4 kB / 490.4 MB, free: 14.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2367, allocations: 450 kB / 490.8 MB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.2368, allocations: 9.688 kB / 490.8 MB, free: 14.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.2374, allocations: 143.5 kB / 491 MB, free: 13.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.2379, allocations: 139.4 kB / 491.1 MB, free: 13.85 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.238, allocations: 4 kB / 491.1 MB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.2402, allocations: 363.5 kB / 491.5 MB, free: 13.49 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.2404, allocations: 47.75 kB / 491.5 MB, free: 13.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.2408, allocations: 107.5 kB / 491.6 MB, free: 13.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.2421, allocations: 299.7 kB / 491.9 MB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.2422, allocations: 0 / 491.9 MB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2422, allocations: 0 / 491.9 MB, free: 13.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.2422, allocations: 0 / 491.9 MB, free: 13.04 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001942/0.2442, allocations: 0.593 MB / 492.5 MB, free: 12.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.2442, allocations: 8.875 kB / 492.5 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.2445, allocations: 28.73 kB / 492.5 MB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.245, allocations: 220 kB / 492.8 MB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002233/0.2452, allocations: 127.9 kB / 492.9 MB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.2453, allocations: 28.31 kB / 492.9 MB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008751/0.2462, allocations: 323.6 kB / 493.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.2462, allocations: 3.938 kB / 493.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.2463, allocations: 12 kB / 493.2 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.2463, allocations: 4 kB / 493.2 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.2477, allocations: 0.743 MB / 494 MB, free: 10.83 MB / 414.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.002228/0.2499, allocations: 1.238 MB / 495.2 MB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.2505, allocations: 154.5 kB / 495.4 MB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.2507, allocations: 72.83 kB / 495.4 MB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003515/0.2542, allocations: 2.663 MB / 498.1 MB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2543, allocations: 34.56 kB / 498.1 MB, free: 6.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 5.18e-06/0.2543, allocations: 0 / 498.1 MB, free: 6.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001138/0.2555, allocations: 220.1 kB / 498.4 MB, free: 5.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.2555, allocations: 59.34 kB / 498.4 MB, free: 5.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.2559, allocations: 214.5 kB / 498.6 MB, free: 5.527 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2559, allocations: 29.7 kB / 498.6 MB, free: 5.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.2561, allocations: 210.8 kB / 498.9 MB, free: 5.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.2562, allocations: 59.22 kB / 498.9 MB, free: 5.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.2564, allocations: 89.94 kB / 499 MB, free: 5.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2566, allocations: 326.8 kB / 499.3 MB, free: 4.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2567, allocations: 52.83 kB / 499.4 MB, free: 4.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.2571, allocations: 312.3 kB / 499.7 MB, free: 4.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.2579, allocations: 411.5 kB / 0.4884 GB, free: 3.785 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.2579, allocations: 0 / 0.4884 GB, free: 3.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001032/0.2589, allocations: 377.5 kB / 0.4887 GB, free: 3.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.259, allocations: 12.16 kB / 0.4887 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.738e-05/0.259, allocations: 12 kB / 0.4887 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/0.2591, allocations: 12 kB / 0.4888 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.2597, allocations: 111.8 kB / 0.4889 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-05/0.2597, allocations: 19.92 kB / 0.4889 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.2602, allocations: 20 kB / 0.4889 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.2603, allocations: 27.98 kB / 0.4889 GB, free: 3.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0002155/0.2605, allocations: 149.6 kB / 0.4891 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.2606, allocations: 19.81 kB / 0.4891 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.2611, allocations: 158.9 kB / 0.4892 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.2612, allocations: 7.938 kB / 0.4892 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2612, allocations: 0 / 0.4892 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2612, allocations: 0 / 0.4892 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.2622, allocations: 427.3 kB / 0.4897 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2622, allocations: 0 / 0.4897 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.2625, allocations: 31.92 kB / 0.4897 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.2625, allocations: 4 kB / 0.4897 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2625, allocations: 0 / 0.4897 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/0.2625, allocations: 8.016 kB / 0.4897 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2625, allocations: 0 / 0.4897 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.263, allocations: 220 kB / 0.4899 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.2632, allocations: 104.8 kB / 0.49 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.2632, allocations: 7.938 kB / 0.49 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.2636, allocations: 11.98 kB / 0.49 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.2637, allocations: 11.98 kB / 0.49 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.2637, allocations: 8 kB / 0.49 GB, free: 1.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002409/0.2639, allocations: 152.5 kB / 0.4902 GB, free: 1.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.337e-06/0.264, allocations: 0 / 0.4902 GB, free: 1.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009633/0.2649, allocations: 91.94 kB / 0.4903 GB, free: 1.691 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0005818/0.2655, allocations: 175 kB / 0.4904 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000546/0.2661, allocations: 186.2 kB / 0.4906 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2661, allocations: 0 / 0.4906 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2662, allocations: 38.92 kB / 0.4907 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.267, allocations: 66.88 kB / 0.4907 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.2687, allocations: 0.6028 MB / 0.4913 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.2692, allocations: 0.7326 MB / 0.492 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2694, allocations: 39.42 kB / 0.4921 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.896e-06/0.2694, allocations: 0 / 0.4921 GB, free: 15.8 MB / 430.1 MB Notification: Performance of Templates: time 0.01087/0.2803, allocations: 3.49 MB / 0.4955 GB, free: 12.32 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches