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.001059/0.001058, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000937/0.000937, allocations: 109.5 kB / 297.3 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.3464/0.3464, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3308, allocations: 63.24 MB / 0.5192 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9736/1.304, allocations: 0.5463 GB / 1.065 GB, free: 54.71 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/1.305, allocations: 83.95 kB / 1.066 GB, free: 54.63 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4518/1.756, allocations: 108.7 MB / 1.172 GB, free: 171.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.874e-06/1.757, allocations: 0 / 1.172 GB, free: 171.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.757, allocations: 3.5 kB / 1.172 GB, free: 171.1 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.003075/1.76, allocations: 1.029 MB / 1.173 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/1.76, allocations: 16.91 kB / 1.173 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005564/1.76, allocations: 75.23 kB / 1.173 GB, free: 170.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/1.761, allocations: 252.5 kB / 1.173 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.761, allocations: 19.88 kB / 1.173 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/1.761, allocations: 25.88 kB / 1.173 GB, free: 170.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008333/1.761, allocations: 481.3 kB / 1.174 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.761, allocations: 0 / 1.174 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/1.762, allocations: 11.25 kB / 1.174 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/1.762, allocations: 7.344 kB / 1.174 GB, free: 169.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000885/1.762, allocations: 0.6766 MB / 1.174 GB, free: 169.7 MB / 0.5417 GB 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.009721/1.772, allocations: 5.368 MB / 1.179 GB, free: 166.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005092/1.773, allocations: 169.8 kB / 1.18 GB, free: 166.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.039/1.812, allocations: 25.61 MB / 1.205 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/1.812, allocations: 288 kB / 1.205 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 3.046e-06/1.812, allocations: 0 / 1.205 GB, free: 138.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26): time 0.00104/1.813, allocations: 389.3 kB / 1.205 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/1.813, allocations: 432.3 kB / 1.206 GB, free: 137.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/1.814, allocations: 178.2 kB / 1.206 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/1.814, allocations: 31.95 kB / 1.206 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/1.814, allocations: 195.5 kB / 1.206 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/1.814, allocations: 98.58 kB / 1.206 GB, free: 137.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/1.814, allocations: 8 kB / 1.206 GB, free: 137.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/1.814, allocations: 326.8 kB / 1.206 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/1.814, allocations: 64.83 kB / 1.207 GB, free: 136.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/1.814, allocations: 302.8 kB / 1.207 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/1.814, allocations: 116.3 kB / 1.207 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.814, allocations: 4 kB / 1.207 GB, free: 136.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004977/1.815, allocations: 393.5 kB / 1.207 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.815, allocations: 12.03 kB / 1.207 GB, free: 135.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.815, allocations: 8 kB / 1.207 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.815, allocations: 12 kB / 1.207 GB, free: 135.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/1.815, allocations: 111.8 kB / 1.207 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/1.815, allocations: 12 kB / 1.207 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/1.815, allocations: 55.42 kB / 1.208 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/1.815, allocations: 31.98 kB / 1.208 GB, free: 135.6 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 () * 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.0001119/1.816, allocations: 149.7 kB / 1.208 GB, free: 135.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/1.816, allocations: 31.72 kB / 1.208 GB, free: 135.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008515/1.816, allocations: 0.8099 MB / 1.209 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.816, allocations: 12.14 kB / 1.209 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.817, allocations: 3.984 kB / 1.209 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.817, allocations: 0 / 1.209 GB, free: 134.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/1.839, allocations: 12.1 MB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.839, allocations: 4.094 kB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/1.839, allocations: 31.98 kB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.839, allocations: 4 kB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.839, allocations: 8 kB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.839, allocations: 7.953 kB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.839, allocations: 3.938 kB / 1.22 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/1.84, allocations: 0.4899 MB / 1.221 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/1.84, allocations: 180.3 kB / 1.221 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/1.84, allocations: 11.98 kB / 1.221 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.84, allocations: 12 kB / 1.221 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/1.84, allocations: 15.98 kB / 1.221 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/1.84, allocations: 12 kB / 1.221 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001688/1.84, allocations: 227.2 kB / 1.221 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.84, allocations: 0 / 1.221 GB, free: 120.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001567/1.842, allocations: 435.3 kB / 1.222 GB, free: 119.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 () * Number of clocked 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.001562/1.843, allocations: 0.782 MB / 1.222 GB, free: 119 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003562/1.844, allocations: 237 kB / 1.223 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.844, allocations: 0.75 kB / 1.223 GB, free: 118.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/1.844, allocations: 111.8 kB / 1.223 GB, free: 118.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/1.844, allocations: 71.69 kB / 1.223 GB, free: 118.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.901/3.745, allocations: 0.7318 GB / 1.955 GB, free: 155.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/3.745, allocations: 0.8053 MB / 1.955 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005102/3.746, allocations: 149.2 kB / 1.956 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/3.746, allocations: 35.78 kB / 1.956 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.282e-06/3.746, allocations: 0 / 1.956 GB, free: 154.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.01823/3.764, allocations: 13.07 MB / 1.968 GB, free: 153.6 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