Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009954/0.0009958, allocations: 199.5 kB / 16.1 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.5 MB / 243.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008695/0.0008697, allocations: 98.22 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3206/0.3206, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002678, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3454, allocations: 62.95 MB / 0.5159 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.00808/0.3535, allocations: 10.22 MB / 0.5259 GB, free: 29.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008252/0.3618, allocations: 10.79 MB / 0.5364 GB, free: 21.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.3621, allocations: 0 / 0.5364 GB, free: 21.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.3624, allocations: 52.52 kB / 0.5364 GB, free: 21.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007815/0.3702, allocations: 2.496 MB / 0.5389 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.3706, allocations: 143.3 kB / 0.539 GB, free: 20.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008962/0.3796, allocations: 7.403 MB / 0.5462 GB, free: 19.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.375e-05/0.3797, allocations: 18.78 kB / 0.5463 GB, free: 19.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3799, allocations: 136.8 kB / 0.5464 GB, free: 19.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01737/0.3973, allocations: 14.17 MB / 0.5602 GB, free: 11.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.3974, allocations: 11.94 kB / 0.5602 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/0.4023, allocations: 2.023 MB / 0.5622 GB, free: 9.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4024, allocations: 39.77 kB / 0.5623 GB, free: 9.922 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.4026, allocations: 145.2 kB / 0.5624 GB, free: 9.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.4044, allocations: 1.056 MB / 0.5634 GB, free: 8.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4044, allocations: 4 kB / 0.5634 GB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4044, allocations: 0 / 0.5634 GB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.4044, allocations: 0 / 0.5634 GB, free: 8.711 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001748/0.4062, allocations: 0.858 MB / 0.5643 GB, free: 7.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4062, allocations: 8.031 kB / 0.5643 GB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.4067, allocations: 80.59 kB / 0.5644 GB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.4069, allocations: 248 kB / 0.5646 GB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.407, allocations: 16.94 kB / 0.5646 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.407, allocations: 28.38 kB / 0.5646 GB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/0.4078, allocations: 481.6 kB / 0.5651 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4078, allocations: 4 kB / 0.5651 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.4078, allocations: 8 kB / 0.5651 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4078, allocations: 11.98 kB / 0.5651 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.4087, allocations: 0.6812 MB / 0.5658 GB, free: 6.184 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.005102/0.4138, allocations: 3.084 MB / 0.5688 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.4143, allocations: 214.1 kB / 0.569 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.4144, allocations: 77.39 kB / 0.5691 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07318/0.4876, allocations: 30.62 MB / 0.599 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007357/0.4884, allocations: 341.8 kB / 0.5993 GB, free: 1.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.4884, allocations: 0 / 0.5993 GB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.003028/0.4914, allocations: 0.9723 MB / 0.6002 GB, free: 240 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002881/0.4917, allocations: 490.5 kB / 0.6007 GB, free: 15.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4919, allocations: 155.1 kB / 0.6009 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.492, allocations: 33.7 kB / 0.6009 GB, free: 15.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4921, allocations: 160 kB / 0.601 GB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4922, allocations: 134.1 kB / 0.6012 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.4922, allocations: 15.94 kB / 0.6012 GB, free: 15.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4924, allocations: 330.8 kB / 0.6015 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4925, allocations: 69.08 kB / 0.6016 GB, free: 14.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.4929, allocations: 321.9 kB / 0.6019 GB, free: 14.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.4934, allocations: 444 kB / 0.6023 GB, free: 13.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4934, allocations: 4 kB / 0.6023 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007447/0.4942, allocations: 438.5 kB / 0.6027 GB, free: 13.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4942, allocations: 14.91 kB / 0.6027 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4942, allocations: 16.69 kB / 0.6028 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/0.4961, allocations: 305.4 kB / 0.603 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.4965, allocations: 103.8 kB / 0.6031 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007012/0.4972, allocations: 1.223 MB / 0.6043 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.4974, allocations: 16 kB / 0.6044 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/0.4975, allocations: 35.98 kB / 0.6044 GB, free: 11.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.4976, allocations: 157.5 kB / 0.6045 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.4977, allocations: 31.91 kB / 0.6046 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.4991, allocations: 1.075 MB / 0.6056 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4991, allocations: 11.98 kB / 0.6056 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4991, allocations: 3.938 kB / 0.6056 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4992, allocations: 4 kB / 0.6056 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001564/0.5007, allocations: 1.542 MB / 0.6071 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5008, allocations: 7.938 kB / 0.6071 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.5009, allocations: 43.92 kB / 0.6072 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.5021, allocations: 237.6 kB / 0.6074 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.5021, allocations: 4 kB / 0.6074 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007075/0.5028, allocations: 1.269 MB / 0.6087 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5028, allocations: 4.031 kB / 0.6087 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.5035, allocations: 0.6106 MB / 0.6093 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.5037, allocations: 220 kB / 0.6095 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.5038, allocations: 11.94 kB / 0.6095 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.504, allocations: 16.08 kB / 0.6095 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.5041, allocations: 27.86 kB / 0.6095 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.5041, allocations: 15.98 kB / 0.6095 GB, free: 5.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000285/0.5044, allocations: 271.1 kB / 0.6098 GB, free: 5.695 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5044, allocations: 0 / 0.6098 GB, free: 5.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001414/0.5058, allocations: 451.6 kB / 0.6102 GB, free: 5.254 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001372/0.5072, allocations: 0.6507 MB / 0.6109 GB, free: 4.594 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006257/0.5078, allocations: 366.1 kB / 0.6112 GB, free: 4.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5078, allocations: 0 / 0.6112 GB, free: 4.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.5081, allocations: 234.8 kB / 0.6114 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.5089, allocations: 98.5 kB / 0.6115 GB, free: 3.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.171/1.68, allocations: 0.4902 GB / 1.102 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.68, allocations: 0.8312 MB / 1.103 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/1.68, allocations: 40.98 kB / 1.103 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/1.68, allocations: 0 / 1.103 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.01652/1.697, allocations: 14.34 MB / 1.117 GB, free: 137.9 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches