Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, 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.243/1.243, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008462, allocations: 87.27 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1824/0.1824, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.584e-05, allocations: 0 / 460.4 MB, free: 70.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 63.25 MB / 0.5114 GB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.385, allocations: 0.5462 GB / 1.058 GB, free: 134.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.385, allocations: 79.95 kB / 1.058 GB, free: 134 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1685/1.554, allocations: 108.5 MB / 1.164 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.044e-06/1.554, allocations: 0 / 1.164 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.041e-05/1.554, allocations: 4 kB / 1.164 GB, free: 25.28 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.003758/1.558, allocations: 1.023 MB / 1.165 GB, free: 24.21 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.558, allocations: 11.97 kB / 1.165 GB, free: 24.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006443/1.558, allocations: 79.66 kB / 1.165 GB, free: 24.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/1.559, allocations: 250.7 kB / 1.165 GB, free: 23.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/1.559, allocations: 16.56 kB / 1.165 GB, free: 23.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/1.559, allocations: 31.94 kB / 1.165 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/1.56, allocations: 489.5 kB / 1.165 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.56, allocations: 0 / 1.165 GB, free: 23.28 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.56, allocations: 12 kB / 1.165 GB, free: 23.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/1.56, allocations: 8 kB / 1.165 GB, free: 23.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009184/1.561, allocations: 0.6969 MB / 1.166 GB, free: 22.56 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.008002/1.569, allocations: 5.381 MB / 1.171 GB, free: 16.76 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/1.569, allocations: 184.5 kB / 1.172 GB, free: 16.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/1.569, allocations: 58.25 kB / 1.172 GB, free: 16.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3477/1.917, allocations: 25.83 MB / 1.197 GB, free: 158.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/1.918, allocations: 298.1 kB / 1.197 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 2.374e-06/1.918, allocations: 0 / 1.197 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26): time 0.00107/1.919, allocations: 367.9 kB / 1.198 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.919, allocations: 424 kB / 1.198 GB, free: 157.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.919, allocations: 178.5 kB / 1.198 GB, free: 157.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/1.919, allocations: 31.14 kB / 1.198 GB, free: 157.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/1.919, allocations: 190 kB / 1.198 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/1.919, allocations: 94.81 kB / 1.198 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/1.919, allocations: 9.188 kB / 1.198 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/1.92, allocations: 329.4 kB / 1.199 GB, free: 157 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.543e-05/1.92, allocations: 62.16 kB / 1.199 GB, free: 157 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/1.92, allocations: 301.8 kB / 1.199 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/1.92, allocations: 110.3 kB / 1.199 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.92, allocations: 9.703 kB / 1.199 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005212/1.92, allocations: 388 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.921, allocations: 12.17 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.921, allocations: 6.625 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.921, allocations: 17.06 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/1.921, allocations: 107 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/1.921, allocations: 27.38 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/1.921, allocations: 47.78 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/1.921, allocations: 31.42 kB / 1.2 GB, free: 156.7 MB / 0.5417 GB 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 () * 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 8.76e-05/1.921, allocations: 136.4 kB / 1.2 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/1.921, allocations: 28.12 kB / 1.2 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/1.922, allocations: 0.811 MB / 1.201 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/1.922, allocations: 6.734 kB / 1.201 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.922, allocations: 1.25 kB / 1.201 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.922, allocations: 3.359 kB / 1.201 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/1.947, allocations: 12.24 MB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.947, allocations: 2.375 kB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/1.947, allocations: 35.92 kB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.947, allocations: 2.5 kB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/1.947, allocations: 5.031 kB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/1.947, allocations: 2.969 kB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.947, allocations: 3.344 kB / 1.213 GB, free: 150.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/1.948, allocations: 499.1 kB / 1.213 GB, free: 150 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/1.948, allocations: 188.8 kB / 1.213 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/1.948, allocations: 5.906 kB / 1.213 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.948, allocations: 14.91 kB / 1.213 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/1.948, allocations: 24.39 kB / 1.213 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.948, allocations: 11.75 kB / 1.213 GB, free: 149.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002188/1.948, allocations: 221.3 kB / 1.214 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/1.948, allocations: 0 / 1.214 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001708/1.95, allocations: 440.7 kB / 1.214 GB, free: 149.8 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001887/1.952, allocations: 0.763 MB / 1.215 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005203/1.953, allocations: 246.1 kB / 1.215 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.953, allocations: 1.438 kB / 1.215 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/1.953, allocations: 107.2 kB / 1.215 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/1.953, allocations: 72.89 kB / 1.215 GB, free: 149.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.709/3.663, allocations: 0.7313 GB / 1.947 GB, free: 86.69 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/3.663, allocations: 0.8078 MB / 1.947 GB, free: 85.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004832/3.663, allocations: 145 kB / 1.947 GB, free: 85.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/3.663, allocations: 31.42 kB / 1.947 GB, free: 85.72 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/3.663, allocations: 0 / 1.947 GB, free: 85.72 MB / 0.5417 GB Notification: Performance of Templates: time 0.0189/3.682, allocations: 13.26 MB / 1.96 GB, free: 72.7 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches