Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008955/0.0008956, allocations: 89.31 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1877/0.1877, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.682e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 63.25 MB / 0.5114 GB, free: 6.797 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/1.445, allocations: 0.5462 GB / 1.058 GB, free: 134.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.445, allocations: 75.95 kB / 1.058 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1708/1.616, allocations: 108.5 MB / 1.164 GB, free: 25.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.343e-06/1.616, allocations: 4 kB / 1.164 GB, free: 25.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.427e-05/1.616, allocations: 4 kB / 1.164 GB, free: 25.37 MB / 0.5417 GB 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.002914/1.619, allocations: 1.025 MB / 1.165 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.619, allocations: 11.97 kB / 1.165 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006/1.62, allocations: 79.66 kB / 1.165 GB, free: 24.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/1.62, allocations: 250.7 kB / 1.165 GB, free: 23.93 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/1.62, allocations: 20.56 kB / 1.165 GB, free: 23.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/1.62, allocations: 27.94 kB / 1.165 GB, free: 23.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/1.621, allocations: 497.5 kB / 1.165 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.621, allocations: 0 / 1.165 GB, free: 23.36 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/1.621, allocations: 12 kB / 1.165 GB, free: 23.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/1.621, allocations: 8 kB / 1.165 GB, free: 23.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/1.622, allocations: 0.693 MB / 1.166 GB, free: 22.64 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.007404/1.629, allocations: 4.197 MB / 1.17 GB, free: 18.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/1.63, allocations: 235.3 kB / 1.17 GB, free: 18 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.06e-05/1.63, allocations: 65.42 kB / 1.171 GB, free: 17.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.39/2.02, allocations: 40.33 MB / 1.21 GB, free: 153.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006494/2.021, allocations: 325.9 kB / 1.21 GB, free: 153 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.745e-06/2.021, allocations: 0 / 1.21 GB, free: 153 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.002141/2.023, allocations: 0.7594 MB / 1.211 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/2.023, allocations: 424.8 kB / 1.211 GB, free: 152.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/2.023, allocations: 145.7 kB / 1.212 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/2.023, allocations: 35.33 kB / 1.212 GB, free: 152.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/2.023, allocations: 167.8 kB / 1.212 GB, free: 152 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/2.023, allocations: 125.6 kB / 1.212 GB, free: 152 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/2.023, allocations: 8.5 kB / 1.212 GB, free: 152 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/2.023, allocations: 334.7 kB / 1.212 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/2.024, allocations: 58.2 kB / 1.212 GB, free: 151.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/2.024, allocations: 307 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/2.024, allocations: 113.6 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/2.024, allocations: 3.062 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006588/2.025, allocations: 392.4 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/2.025, allocations: 8.875 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/2.025, allocations: 9.344 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/2.025, allocations: 19.42 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/2.026, allocations: 254.2 kB / 1.213 GB, free: 151.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004124/2.027, allocations: 1.18 MB / 1.214 GB, free: 150.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/2.027, allocations: 22.92 kB / 1.214 GB, free: 150.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/2.027, allocations: 33.77 kB / 1.214 GB, free: 150.1 MB / 0.5417 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * 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 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/2.027, allocations: 144.3 kB / 1.215 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/2.027, allocations: 34.33 kB / 1.215 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/2.029, allocations: 0.9773 MB / 1.216 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/2.029, allocations: 10.39 kB / 1.216 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/2.029, allocations: 3.5 kB / 1.216 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.029, allocations: 3 kB / 1.216 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/2.051, allocations: 12.44 MB / 1.228 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/2.051, allocations: 7.422 kB / 1.228 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/2.052, allocations: 131.3 kB / 1.228 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/2.052, allocations: 3.312 kB / 1.228 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/2.052, allocations: 5.656 kB / 1.228 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000185/2.052, allocations: 0.5902 MB / 1.228 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.052, allocations: 6.594 kB / 1.228 GB, free: 143.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/2.052, allocations: 0.626 MB / 1.229 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/2.052, allocations: 197.7 kB / 1.229 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/2.053, allocations: 7.812 kB / 1.229 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/2.053, allocations: 19.5 kB / 1.229 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/2.053, allocations: 25.33 kB / 1.229 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/2.053, allocations: 13.12 kB / 1.229 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001601/2.053, allocations: 208.2 kB / 1.23 GB, free: 142.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/2.053, allocations: 5.688 kB / 1.23 GB, free: 142.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001456/2.054, allocations: 474.8 kB / 1.23 GB, free: 142.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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: 3 * 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.001612/2.056, allocations: 0.8266 MB / 1.231 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001133/2.057, allocations: 393.2 kB / 1.231 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/2.057, allocations: 3.5 kB / 1.231 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005993/2.058, allocations: 244.4 kB / 1.231 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/2.058, allocations: 76.53 kB / 1.232 GB, free: 142.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.526/3.585, allocations: 0.6766 GB / 1.908 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/3.585, allocations: 0.8163 MB / 1.909 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004515/3.585, allocations: 154.2 kB / 1.909 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/3.586, allocations: 35.42 kB / 1.909 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of SimCode: time 6.01e-07/3.586, allocations: 4 kB / 1.909 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.01825/3.604, allocations: 14.45 MB / 1.923 GB, free: 97.14 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches