Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009708/0.0009707, allocations: 202.2 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.301/1.301, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007513/0.0007513, allocations: 95.44 kB / 295.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1894/0.1894, allocations: 44.84 MB / 392 MB, free: 9.352 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00024/0.00024, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1032, allocations: 62.96 MB / 0.5153 GB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.1975/0.3008, allocations: 10.2 MB / 0.5253 GB, free: 6.836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009855/0.3107, allocations: 10.78 MB / 0.5358 GB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.311, allocations: 2 kB / 0.5358 GB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.3113, allocations: 52.52 kB / 0.5359 GB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008789/0.3201, allocations: 2.452 MB / 0.5383 GB, free: 13.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.3205, allocations: 145.1 kB / 0.5384 GB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008956/0.3295, allocations: 7.41 MB / 0.5456 GB, free: 12.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.907e-05/0.3296, allocations: 15.67 kB / 0.5457 GB, free: 12.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.3298, allocations: 137.4 kB / 0.5458 GB, free: 12.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01447/0.3442, allocations: 14.17 MB / 0.5596 GB, free: 472 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/0.3443, allocations: 8 kB / 0.5596 GB, free: 464 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.3494, allocations: 1.963 MB / 0.5616 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.3495, allocations: 51.69 kB / 0.5616 GB, free: 14.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.3496, allocations: 69.58 kB / 0.5617 GB, free: 14.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.352, allocations: 1.029 MB / 0.5627 GB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.352, allocations: 0 / 0.5627 GB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.352, allocations: 0 / 0.5627 GB, free: 13.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3521, allocations: 0 / 0.5627 GB, free: 13.33 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.002281/0.3543, allocations: 0.8657 MB / 0.5635 GB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3544, allocations: 8.031 kB / 0.5635 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005299/0.3549, allocations: 83.64 kB / 0.5636 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.3552, allocations: 242.7 kB / 0.5638 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3552, allocations: 16.56 kB / 0.5639 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3553, allocations: 31.94 kB / 0.5639 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.3561, allocations: 481.4 kB / 0.5643 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3562, allocations: 4 kB / 0.5643 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.3562, allocations: 16 kB / 0.5644 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3562, allocations: 4 kB / 0.5644 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/0.3572, allocations: 0.6812 MB / 0.565 GB, free: 10.8 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.006756/0.3639, allocations: 4.295 MB / 0.5692 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3644, allocations: 159.2 kB / 0.5694 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.677e-05/0.3645, allocations: 57.3 kB / 0.5694 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02649/0.391, allocations: 16.38 MB / 0.5854 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006003/0.3917, allocations: 320.7 kB / 0.5857 GB, free: 2.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.3917, allocations: 0 / 0.5857 GB, free: 2.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001236/0.3929, allocations: 434.3 kB / 0.5861 GB, free: 2.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.3932, allocations: 487 kB / 0.5866 GB, free: 1.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.3934, allocations: 188 kB / 0.5868 GB, free: 1.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3934, allocations: 33.7 kB / 0.5868 GB, free: 1.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.3935, allocations: 183.6 kB / 0.587 GB, free: 1.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.3936, allocations: 98.81 kB / 0.5871 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.3936, allocations: 12 kB / 0.5871 GB, free: 1.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3938, allocations: 330.8 kB / 0.5874 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3939, allocations: 64.77 kB / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.3941, allocations: 306.8 kB / 0.5878 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.3943, allocations: 111.9 kB / 0.5879 GB, free: 468 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3943, allocations: 4 kB / 0.5879 GB, free: 464 kB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000618/0.395, allocations: 393 kB / 0.5883 GB, free: 64 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.395, allocations: 8 kB / 0.5883 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.395, allocations: 12.72 kB / 0.5883 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3951, allocations: 19.98 kB / 0.5883 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.3954, allocations: 115.8 kB / 0.5884 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.3954, allocations: 16.52 kB / 0.5884 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.3957, allocations: 55.53 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.3957, allocations: 31.98 kB / 0.5885 GB, free: 15.81 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.3959, allocations: 145.7 kB / 0.5886 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.396, allocations: 31.8 kB / 0.5887 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.397, allocations: 0.7988 MB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.397, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.397, allocations: 0 / 0.5895 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.3971, allocations: 7.953 kB / 0.5895 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.3981, allocations: 1.223 MB / 0.5907 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.3981, allocations: 4 kB / 0.5907 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3982, allocations: 31.98 kB / 0.5907 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3983, allocations: 4 kB / 0.5907 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3983, allocations: 4 kB / 0.5907 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3983, allocations: 16.02 kB / 0.5907 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3983, allocations: 0 / 0.5907 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.3986, allocations: 371.5 kB / 0.5911 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3988, allocations: 212.2 kB / 0.5913 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.3988, allocations: 4 kB / 0.5913 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3991, allocations: 19.97 kB / 0.5913 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.3991, allocations: 27.88 kB / 0.5913 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3991, allocations: 11.94 kB / 0.5913 GB, free: 12.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.3994, allocations: 290.9 kB / 0.5916 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3994, allocations: 0 / 0.5916 GB, free: 12.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001077/0.4005, allocations: 435.5 kB / 0.592 GB, free: 11.95 MB / 410.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0012/0.4017, allocations: 0.6138 MB / 0.5926 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.402, allocations: 229.7 kB / 0.5929 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.402, allocations: 4.062 kB / 0.5929 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.4022, allocations: 87.78 kB / 0.5929 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.4028, allocations: 94.7 kB / 0.593 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.23/1.633, allocations: 0.577 GB / 1.17 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/1.633, allocations: 0.8148 MB / 1.171 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.634, allocations: 47.42 kB / 1.171 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of SimCode: time 5.92e-07/1.634, allocations: 0 / 1.171 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.0113/1.645, allocations: 10.61 MB / 1.181 GB, free: 108.2 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches