Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.6 MB / 243.4 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007792/0.000779, allocations: 108.1 kB / 295.5 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.302/0.302, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002904, allocations: 11.98 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2616, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.004115/0.2657, allocations: 4.74 MB / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2676, allocations: 2.437 MB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.2676, allocations: 3.094 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.2678, allocations: 32.16 kB / 0.5229 GB, free: 31.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.2695, allocations: 0.9607 MB / 0.5239 GB, free: 31.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.2698, allocations: 136.8 kB / 0.524 GB, free: 31.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.2701, allocations: 299.1 kB / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.2702, allocations: 14.2 kB / 0.5243 GB, free: 31.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009789/0.2711, allocations: 0.7995 MB / 0.5251 GB, free: 31.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.2713, allocations: 160.2 kB / 0.5252 GB, free: 31.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2714, allocations: 5.375 kB / 0.5252 GB, free: 31.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.273, allocations: 1.312 MB / 0.5265 GB, free: 30.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.273, allocations: 33.12 kB / 0.5265 GB, free: 30.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.2731, allocations: 109.9 kB / 0.5267 GB, free: 30.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004483/0.2736, allocations: 382.2 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2736, allocations: 0 / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.2736, allocations: 2.594 kB / 0.527 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2736, allocations: 0 / 0.527 GB, free: 30.71 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006958/0.2743, allocations: 0.5273 MB / 0.5275 GB, free: 30.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.2744, allocations: 15.59 kB / 0.5275 GB, free: 30.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.2747, allocations: 46.14 kB / 0.5276 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2749, allocations: 211.9 kB / 0.5278 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2749, allocations: 10.53 kB / 0.5278 GB, free: 30.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2749, allocations: 19.66 kB / 0.5278 GB, free: 30.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.2753, allocations: 242.6 kB / 0.5281 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2753, allocations: 2.844 kB / 0.5281 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.2753, allocations: 10.66 kB / 0.5281 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2753, allocations: 5.062 kB / 0.5281 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.2756, allocations: 234.1 kB / 0.5283 GB, free: 29.78 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.0008704/0.2765, allocations: 1.365 MB / 0.5296 GB, free: 28.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.2766, allocations: 96.06 kB / 0.5297 GB, free: 28.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.2767, allocations: 40.28 kB / 0.5298 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009755/0.2777, allocations: 2.049 MB / 0.5318 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.2779, allocations: 161.6 kB / 0.5319 GB, free: 25.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.2779, allocations: 0 / 0.5319 GB, free: 25.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007409/0.2786, allocations: 360.6 kB / 0.5323 GB, free: 25.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.2787, allocations: 267.8 kB / 0.5325 GB, free: 25.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.2788, allocations: 155.7 kB / 0.5327 GB, free: 25.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2788, allocations: 32.58 kB / 0.5327 GB, free: 25.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.2789, allocations: 140.2 kB / 0.5328 GB, free: 25.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.2789, allocations: 71.05 kB / 0.5329 GB, free: 25.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.2789, allocations: 10.62 kB / 0.5329 GB, free: 25.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.279, allocations: 321.1 kB / 0.5332 GB, free: 24.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.279, allocations: 42.48 kB / 0.5332 GB, free: 24.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.2791, allocations: 176.6 kB / 0.5334 GB, free: 24.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2793, allocations: 264.6 kB / 0.5337 GB, free: 24.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2793, allocations: 0 / 0.5337 GB, free: 24.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003134/0.2797, allocations: 259 kB / 0.5339 GB, free: 24.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2797, allocations: 8.844 kB / 0.5339 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2797, allocations: 3 kB / 0.5339 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2797, allocations: 12.19 kB / 0.5339 GB, free: 24.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.2801, allocations: 101.3 kB / 0.534 GB, free: 24.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001863/0.2803, allocations: 0.5954 MB / 0.5346 GB, free: 23.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.2805, allocations: 17.72 kB / 0.5346 GB, free: 23.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.2805, allocations: 18.03 kB / 0.5347 GB, free: 23.58 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.612e-05/0.2806, allocations: 137.5 kB / 0.5348 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.2806, allocations: 12.81 kB / 0.5348 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.281, allocations: 242.3 kB / 0.535 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.281, allocations: 2.688 kB / 0.535 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.281, allocations: 6.719 kB / 0.535 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.281, allocations: 0 / 0.535 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.2813, allocations: 444 kB / 0.5355 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2813, allocations: 0 / 0.5355 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2816, allocations: 51.66 kB / 0.5355 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.2817, allocations: 6.875 kB / 0.5355 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2817, allocations: 6.938 kB / 0.5355 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001426/0.2818, allocations: 0.5876 MB / 0.5361 GB, free: 22.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2818, allocations: 2.844 kB / 0.5361 GB, free: 22.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.282, allocations: 152.9 kB / 0.5362 GB, free: 22.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.273e-05/0.2821, allocations: 115.7 kB / 0.5364 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.2821, allocations: 2.781 kB / 0.5364 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2822, allocations: 2.844 kB / 0.5364 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.2822, allocations: 13.09 kB / 0.5364 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2823, allocations: 12.61 kB / 0.5364 GB, free: 22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.2823, allocations: 127.9 kB / 0.5365 GB, free: 21.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2823, allocations: 0 / 0.5365 GB, free: 21.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.2828, allocations: 136.3 kB / 0.5366 GB, free: 21.88 MB / 378.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004877/0.2833, allocations: 273.1 kB / 0.5369 GB, free: 21.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.2836, allocations: 162.9 kB / 0.5371 GB, free: 21.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2837, allocations: 384 / 0.5371 GB, free: 21.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.2838, allocations: 52.98 kB / 0.5371 GB, free: 21.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2841, allocations: 25.61 kB / 0.5371 GB, free: 21.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.2852, allocations: 0.8871 MB / 0.538 GB, free: 21.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2854, allocations: 0.7108 MB / 0.5387 GB, free: 20.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.2855, allocations: 39.61 kB / 0.5387 GB, free: 20.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2855, allocations: 0 / 0.5387 GB, free: 20.46 MB / 378.7 MB Notification: Performance of Templates: time 0.006538/0.292, allocations: 4.892 MB / 0.5435 GB, free: 19.88 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches