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.001037/0.001037, allocations: 196.7 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.268/1.268, allocations: 226.6 MB / 243.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007676/0.0007675, allocations: 110.9 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3106/0.3106, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004528, allocations: 8 kB / 465.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2955, allocations: 62.96 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.0078/0.3033, allocations: 10.22 MB / 0.5259 GB, free: 29.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.3112, allocations: 10.78 MB / 0.5364 GB, free: 21.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.3114, allocations: 0 / 0.5364 GB, free: 21.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3116, allocations: 58.66 kB / 0.5364 GB, free: 21.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.3183, allocations: 2.501 MB / 0.5389 GB, free: 20.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.3187, allocations: 144 kB / 0.539 GB, free: 20.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008635/0.3273, allocations: 7.406 MB / 0.5463 GB, free: 19.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.397e-05/0.3274, allocations: 14.88 kB / 0.5463 GB, free: 19.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.3276, allocations: 141.2 kB / 0.5464 GB, free: 19.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01626/0.3439, allocations: 14.16 MB / 0.5602 GB, free: 11.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.117e-05/0.344, allocations: 8 kB / 0.5602 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005156/0.3492, allocations: 2.049 MB / 0.5622 GB, free: 9.926 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.054e-05/0.3493, allocations: 47.77 kB / 0.5623 GB, free: 9.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.3495, allocations: 137.2 kB / 0.5624 GB, free: 9.738 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3511, allocations: 1.056 MB / 0.5635 GB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3511, allocations: 0 / 0.5635 GB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3511, allocations: 0 / 0.5635 GB, free: 8.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3511, allocations: 0 / 0.5635 GB, free: 8.68 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.001724/0.3529, allocations: 0.8736 MB / 0.5643 GB, free: 7.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3529, allocations: 8.031 kB / 0.5643 GB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.3534, allocations: 80.58 kB / 0.5644 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3536, allocations: 244 kB / 0.5646 GB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3536, allocations: 20.94 kB / 0.5646 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3537, allocations: 24.38 kB / 0.5647 GB, free: 7.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.3544, allocations: 485.6 kB / 0.5651 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3544, allocations: 3.938 kB / 0.5651 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3544, allocations: 16 kB / 0.5651 GB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3545, allocations: 8 kB / 0.5652 GB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.3553, allocations: 0.6773 MB / 0.5658 GB, free: 6.137 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.005541/0.3608, allocations: 4.289 MB / 0.57 GB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.3613, allocations: 159.2 kB / 0.5702 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.3613, allocations: 65.23 kB / 0.5702 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02512/0.3865, allocations: 16.38 MB / 0.5862 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006392/0.3872, allocations: 314 kB / 0.5865 GB, free: 14.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.3872, allocations: 0 / 0.5865 GB, free: 14.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001197/0.3884, allocations: 439.7 kB / 0.5869 GB, free: 13.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.3885, allocations: 482.7 kB / 0.5874 GB, free: 13.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3887, allocations: 192 kB / 0.5876 GB, free: 13.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3888, allocations: 29.7 kB / 0.5876 GB, free: 13.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.48e-05/0.3889, allocations: 183.6 kB / 0.5878 GB, free: 12.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.3889, allocations: 106.6 kB / 0.5879 GB, free: 12.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/0.3889, allocations: 8 kB / 0.5879 GB, free: 12.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3891, allocations: 330.8 kB / 0.5882 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3892, allocations: 68.83 kB / 0.5883 GB, free: 12.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.3894, allocations: 302.8 kB / 0.5886 GB, free: 11.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3898, allocations: 433.2 kB / 0.589 GB, free: 11.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.3898, allocations: 4 kB / 0.589 GB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005714/0.3904, allocations: 393.2 kB / 0.5893 GB, free: 10.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3904, allocations: 8 kB / 0.5894 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3904, allocations: 16 kB / 0.5894 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.3905, allocations: 12 kB / 0.5894 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.3908, allocations: 111.8 kB / 0.5895 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.3908, allocations: 11.94 kB / 0.5895 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.3911, allocations: 55.84 kB / 0.5896 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.3911, allocations: 35.98 kB / 0.5896 GB, free: 10.73 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.0001259/0.3912, allocations: 145.7 kB / 0.5897 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.3913, allocations: 27.81 kB / 0.5898 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009893/0.3923, allocations: 0.8089 MB / 0.5905 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.3923, allocations: 7.984 kB / 0.5906 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3923, allocations: 0 / 0.5906 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3923, allocations: 7.938 kB / 0.5906 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.3934, allocations: 1.219 MB / 0.5917 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3934, allocations: 4 kB / 0.5918 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3935, allocations: 35.92 kB / 0.5918 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.3935, allocations: 3.938 kB / 0.5918 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3935, allocations: 8 kB / 0.5918 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3935, allocations: 0 / 0.5918 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3935, allocations: 4 kB / 0.5918 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.3939, allocations: 377.4 kB / 0.5922 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.394, allocations: 212.2 kB / 0.5924 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.3941, allocations: 11.92 kB / 0.5924 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.3943, allocations: 12 kB / 0.5924 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.3944, allocations: 23.92 kB / 0.5924 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3944, allocations: 11.98 kB / 0.5924 GB, free: 7.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.3947, allocations: 290.9 kB / 0.5927 GB, free: 7.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3947, allocations: 0 / 0.5927 GB, free: 7.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001185/0.3959, allocations: 423.6 kB / 0.5931 GB, free: 6.875 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.001184/0.3971, allocations: 0.6271 MB / 0.5937 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.3975, allocations: 229 kB / 0.5939 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3975, allocations: 0.75 kB / 0.5939 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3976, allocations: 87.84 kB / 0.594 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.3983, allocations: 85.2 kB / 0.5941 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.293/1.692, allocations: 0.577 GB / 1.171 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/1.692, allocations: 0.8184 MB / 1.172 GB, free: 81.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.692, allocations: 44.95 kB / 1.172 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/1.692, allocations: 0 / 1.172 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.01162/1.704, allocations: 10.62 MB / 1.182 GB, free: 70.61 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