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.001097/0.001097, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007008/0.0007008, allocations: 101.7 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1835/0.1835, allocations: 44.85 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002471, allocations: 4 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08899/0.08925, allocations: 62.95 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.1752/0.2645, allocations: 4.733 MB / 0.5199 GB, free: 9.801 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.2669, allocations: 2.446 MB / 0.5223 GB, free: 8.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.267, allocations: 1.344 kB / 0.5223 GB, free: 8.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.2672, allocations: 23.23 kB / 0.5224 GB, free: 8.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.2695, allocations: 0.9192 MB / 0.5233 GB, free: 8.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.2698, allocations: 135.9 kB / 0.5234 GB, free: 8.52 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.2702, allocations: 305 kB / 0.5237 GB, free: 8.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.2703, allocations: 8.344 kB / 0.5237 GB, free: 8.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.2714, allocations: 0.7972 MB / 0.5245 GB, free: 8.289 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.2716, allocations: 162.8 kB / 0.5246 GB, free: 8.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2717, allocations: 4.125 kB / 0.5246 GB, free: 8.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.2737, allocations: 1.275 MB / 0.5259 GB, free: 8.023 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.493e-05/0.2738, allocations: 36.59 kB / 0.5259 GB, free: 8.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.2738, allocations: 53.73 kB / 0.526 GB, free: 7.965 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.2744, allocations: 374 kB / 0.5263 GB, free: 7.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2744, allocations: 1.625 kB / 0.5263 GB, free: 7.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2744, allocations: 0 / 0.5263 GB, free: 7.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2744, allocations: 0 / 0.5263 GB, free: 7.867 MB / 346.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.000746/0.2752, allocations: 0.5278 MB / 0.5268 GB, free: 7.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2752, allocations: 9.156 kB / 0.5268 GB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.2756, allocations: 47.2 kB / 0.5269 GB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.2758, allocations: 206.1 kB / 0.5271 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2758, allocations: 15.23 kB / 0.5271 GB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.2758, allocations: 19.22 kB / 0.5271 GB, free: 7.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.2762, allocations: 239.3 kB / 0.5273 GB, free: 7.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2762, allocations: 5.062 kB / 0.5273 GB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.2762, allocations: 10.22 kB / 0.5274 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2763, allocations: 4.438 kB / 0.5274 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.2766, allocations: 227.7 kB / 0.5276 GB, free: 6.953 MB / 346.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.0009493/0.2776, allocations: 1.371 MB / 0.5289 GB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.2777, allocations: 85.72 kB / 0.529 GB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.2778, allocations: 38.14 kB / 0.529 GB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.2788, allocations: 2.066 MB / 0.531 GB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.279, allocations: 168.2 kB / 0.5312 GB, free: 3.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/0.279, allocations: 2.203 kB / 0.5312 GB, free: 3.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007997/0.2798, allocations: 350.9 kB / 0.5315 GB, free: 2.922 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.2799, allocations: 271.3 kB / 0.5318 GB, free: 2.602 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.28, allocations: 152 kB / 0.532 GB, free: 2.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2801, allocations: 27.8 kB / 0.532 GB, free: 2.453 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.2801, allocations: 142.7 kB / 0.5321 GB, free: 2.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.2802, allocations: 77.11 kB / 0.5322 GB, free: 2.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.2802, allocations: 6.156 kB / 0.5322 GB, free: 2.258 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.2802, allocations: 325.5 kB / 0.5325 GB, free: 1.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.2803, allocations: 42.88 kB / 0.5325 GB, free: 1.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2804, allocations: 175 kB / 0.5327 GB, free: 1.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.2805, allocations: 72.28 kB / 0.5328 GB, free: 1.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2805, allocations: 6.422 kB / 0.5328 GB, free: 1.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003521/0.2809, allocations: 257.7 kB / 0.533 GB, free: 1.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2809, allocations: 9.266 kB / 0.533 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2809, allocations: 5.312 kB / 0.533 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.281, allocations: 8.656 kB / 0.5331 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.2814, allocations: 100.8 kB / 0.5331 GB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002054/0.2816, allocations: 0.5906 MB / 0.5337 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.2818, allocations: 22.39 kB / 0.5337 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.2818, allocations: 25.3 kB / 0.5338 GB, free: 0.9609 MB / 346.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.778e-05/0.2819, allocations: 136.8 kB / 0.5339 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.2819, allocations: 19.61 kB / 0.5339 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.2823, allocations: 239.8 kB / 0.5341 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2824, allocations: 2.062 kB / 0.5342 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2824, allocations: 3.938 kB / 0.5342 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2824, allocations: 2.516 kB / 0.5342 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.2827, allocations: 449.3 kB / 0.5346 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2827, allocations: 1.312 kB / 0.5346 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.283, allocations: 57.16 kB / 0.5346 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.283, allocations: 0.9062 kB / 0.5346 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.283, allocations: 4.016 kB / 0.5346 GB, free: 200 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002483/0.2833, allocations: 0.5911 MB / 0.5352 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2833, allocations: 3.984 kB / 0.5352 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.2835, allocations: 142.8 kB / 0.5354 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/0.2836, allocations: 116.5 kB / 0.5355 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.2836, allocations: 5.938 kB / 0.5355 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.2838, allocations: 12.69 kB / 0.5355 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.2838, allocations: 11.52 kB / 0.5355 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2838, allocations: 8.891 kB / 0.5355 GB, free: 15.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.284, allocations: 133.3 kB / 0.5356 GB, free: 15.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.284, allocations: 3.938 kB / 0.5356 GB, free: 15.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.2845, allocations: 133.3 kB / 0.5358 GB, free: 15.23 MB / 362.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.0005509/0.285, allocations: 265.3 kB / 0.536 GB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004421/0.2855, allocations: 160.4 kB / 0.5362 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2855, allocations: 1.766 kB / 0.5362 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.2857, allocations: 48.47 kB / 0.5362 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.286, allocations: 36.34 kB / 0.5363 GB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2875, allocations: 0.8821 MB / 0.5371 GB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2877, allocations: 0.7122 MB / 0.5378 GB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.2878, allocations: 45.31 kB / 0.5379 GB, free: 13.82 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2878, allocations: 0 / 0.5379 GB, free: 13.82 MB / 362.7 MB Notification: Performance of Templates: time 0.007229/0.2951, allocations: 4.902 MB / 0.5426 GB, free: 12.39 MB / 362.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