Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001733, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, 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.281/2.281, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4472/0.4472, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 78.5 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2226, allocations: 62.44 MB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.01236/0.235, allocations: 5.424 MB / 485.4 MB, free: 296 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.2413, allocations: 2.679 MB / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.2416, allocations: 0 / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.2421, allocations: 35.81 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006058/0.2482, allocations: 0.9883 MB / 489.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006892/0.2489, allocations: 138.8 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007603/0.2497, allocations: 342.6 kB / 489.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.2498, allocations: 17.53 kB / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.2523, allocations: 0.8534 MB / 490.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005266/0.2529, allocations: 163.8 kB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.2529, allocations: 4 kB / 490.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.2574, allocations: 1.408 MB / 492 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.2575, allocations: 31.83 kB / 492 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.2578, allocations: 75.66 kB / 492.1 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.2593, allocations: 387.2 kB / 492.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2594, allocations: 0 / 492.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.2594, allocations: 4 kB / 492.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2594, allocations: 4 kB / 492.5 MB, free: 9.176 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001746/0.2612, allocations: 0.5576 MB / 493 MB, free: 8.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.2612, allocations: 13.95 kB / 493 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000891/0.2622, allocations: 44.72 kB / 493.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.2626, allocations: 216 kB / 493.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2626, allocations: 12.38 kB / 493.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2627, allocations: 23.94 kB / 493.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.2634, allocations: 240.5 kB / 493.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.2634, allocations: 3.938 kB / 493.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.2635, allocations: 8 kB / 493.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2635, allocations: 8 kB / 493.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.2641, allocations: 232.6 kB / 493.8 MB, free: 7.715 MB / 366.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.002143/0.2662, allocations: 1.361 MB / 495.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.2666, allocations: 94.53 kB / 495.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.2668, allocations: 36.84 kB / 495.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003422/0.2702, allocations: 2.067 MB / 497.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005994/0.2708, allocations: 163 kB / 497.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 4.448e-06/0.2709, allocations: 0 / 497.5 MB, free: 3.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001963/0.2728, allocations: 363.9 kB / 497.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.2731, allocations: 265.1 kB / 498.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2734, allocations: 152.9 kB / 498.3 MB, free: 2.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/0.2734, allocations: 33.7 kB / 498.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.2736, allocations: 139.8 kB / 498.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.2738, allocations: 71.08 kB / 498.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.274, allocations: 65.59 kB / 498.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2742, allocations: 322.8 kB / 498.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.2744, allocations: 47.92 kB / 498.9 MB, free: 1.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.2747, allocations: 188.3 kB / 499.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.2754, allocations: 262.5 kB / 499.4 MB, free: 1.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2755, allocations: 4 kB / 499.4 MB, free: 1.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009271/0.2764, allocations: 249.6 kB / 499.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.2765, allocations: 12.12 kB / 499.6 MB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.2765, allocations: 4 kB / 499.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.381e-05/0.2765, allocations: 8 kB / 499.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.2776, allocations: 103.8 kB / 499.8 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007602/0.2783, allocations: 0.5975 MB / 0.4886 GB, free: 292 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2787, allocations: 12 kB / 0.4886 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.2788, allocations: 20.09 kB / 0.4887 GB, free: 260 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.2791, allocations: 141.7 kB / 0.4888 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2792, allocations: 23.75 kB / 0.4888 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.2803, allocations: 219.9 kB / 0.489 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.2803, allocations: 12.02 kB / 0.489 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.2804, allocations: 3.938 kB / 0.489 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2804, allocations: 3.984 kB / 0.489 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.2813, allocations: 436.8 kB / 0.4895 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2813, allocations: 0 / 0.4895 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.2821, allocations: 63.89 kB / 0.4895 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.2821, allocations: 3.938 kB / 0.4895 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.2821, allocations: 4 kB / 0.4895 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005615/0.2827, allocations: 0.5822 MB / 0.4901 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.2827, allocations: 3.984 kB / 0.4901 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.2832, allocations: 150.5 kB / 0.4902 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.2834, allocations: 97 kB / 0.4903 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.2835, allocations: 7.938 kB / 0.4903 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.2838, allocations: 11.98 kB / 0.4904 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.2838, allocations: 11.92 kB / 0.4904 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.2839, allocations: 4 kB / 0.4904 GB, free: 14.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.2841, allocations: 135.8 kB / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2841, allocations: 0 / 0.4905 GB, free: 14.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001088/0.2852, allocations: 136 kB / 0.4906 GB, free: 14.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.2865, allocations: 271.6 kB / 0.4909 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2876, allocations: 155.7 kB / 0.491 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2876, allocations: 0 / 0.491 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.288, allocations: 53.22 kB / 0.4911 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.2889, allocations: 60.06 kB / 0.4912 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.2922, allocations: 0.8607 MB / 0.492 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.2928, allocations: 0.7128 MB / 0.4927 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.293, allocations: 39.41 kB / 0.4927 GB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.2931, allocations: 0 / 0.4927 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01537/0.3084, allocations: 5.072 MB / 0.4977 GB, free: 6.785 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches