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.001112/0.001119, allocations: 196.5 kB / 18.1 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008659/0.000866, allocations: 97.98 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3859/0.3859, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4015, allocations: 62.96 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.674, allocations: 0.5463 GB / 1.065 GB, free: 59.22 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/1.675, allocations: 87.94 kB / 1.065 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5166/2.191, allocations: 106.4 MB / 1.169 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.966e-06/2.191, allocations: 0 / 1.169 GB, free: 173.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.383e-05/2.191, allocations: 3.938 kB / 1.169 GB, free: 173.3 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.004192/2.196, allocations: 1.024 MB / 1.17 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/2.196, allocations: 7.812 kB / 1.17 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006851/2.196, allocations: 84.53 kB / 1.17 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/2.197, allocations: 247.3 kB / 1.17 GB, free: 172.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/2.197, allocations: 24.69 kB / 1.17 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/2.197, allocations: 24.12 kB / 1.17 GB, free: 172.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/2.198, allocations: 479.5 kB / 1.171 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/2.198, allocations: 4.125 kB / 1.171 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.351e-05/2.198, allocations: 19.81 kB / 1.171 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/2.198, allocations: 7.938 kB / 1.171 GB, free: 172.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/2.199, allocations: 0.6785 MB / 1.171 GB, free: 171.9 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.01032/2.21, allocations: 5.323 MB / 1.176 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/2.21, allocations: 160.9 kB / 1.177 GB, free: 168.7 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/2.21, allocations: 54.97 kB / 1.177 GB, free: 168.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04634/2.257, allocations: 27.4 MB / 1.203 GB, free: 145 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007128/2.257, allocations: 280 kB / 1.204 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 3.217e-06/2.258, allocations: 0 / 1.204 GB, free: 144.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26): time 0.001305/2.259, allocations: 409.8 kB / 1.204 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/2.259, allocations: 427.2 kB / 1.204 GB, free: 143.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/2.259, allocations: 191 kB / 1.205 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/2.259, allocations: 33.7 kB / 1.205 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/2.259, allocations: 195.5 kB / 1.205 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/2.259, allocations: 90.75 kB / 1.205 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/2.259, allocations: 8 kB / 1.205 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001077/2.26, allocations: 330.8 kB / 1.205 GB, free: 142.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/2.26, allocations: 60.83 kB / 1.205 GB, free: 142.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/2.26, allocations: 310.7 kB / 1.206 GB, free: 142.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/2.26, allocations: 420.9 kB / 1.206 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/2.26, allocations: 4 kB / 1.206 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007717/2.261, allocations: 397.4 kB / 1.206 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/2.261, allocations: 8 kB / 1.206 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/2.261, allocations: 8 kB / 1.206 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/2.261, allocations: 12 kB / 1.206 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/2.262, allocations: 103.8 kB / 1.207 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/2.262, allocations: 19.92 kB / 1.207 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/2.262, allocations: 47.53 kB / 1.207 GB, free: 141.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/2.262, allocations: 35.92 kB / 1.207 GB, free: 141.2 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.0002397/2.262, allocations: 157.8 kB / 1.207 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/2.263, allocations: 31.72 kB / 1.207 GB, free: 141 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/2.264, allocations: 0.808 MB / 1.208 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/2.264, allocations: 7.984 kB / 1.208 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/2.264, allocations: 0 / 1.208 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/2.264, allocations: 8.156 kB / 1.208 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/2.287, allocations: 12.08 MB / 1.219 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/2.287, allocations: 4 kB / 1.219 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/2.288, allocations: 27.92 kB / 1.219 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/2.288, allocations: 8.094 kB / 1.219 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/2.288, allocations: 12.03 kB / 1.219 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/2.288, allocations: 7.938 kB / 1.22 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/2.288, allocations: 0 / 1.22 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/2.288, allocations: 396 kB / 1.22 GB, free: 126.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/2.288, allocations: 184.2 kB / 1.22 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.954e-05/2.288, allocations: 11.94 kB / 1.22 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/2.289, allocations: 15.98 kB / 1.22 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/2.289, allocations: 15.92 kB / 1.22 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/2.289, allocations: 12 kB / 1.22 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002209/2.289, allocations: 231.2 kB / 1.22 GB, free: 126 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.289, allocations: 0 / 1.22 GB, free: 126 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002016/2.291, allocations: 435.4 kB / 1.221 GB, free: 125.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 () * 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.00257/2.293, allocations: 0.7628 MB / 1.221 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005135/2.294, allocations: 253.2 kB / 1.222 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/2.294, allocations: 4.25 kB / 1.222 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/2.294, allocations: 107.8 kB / 1.222 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/2.295, allocations: 80.94 kB / 1.222 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.951/4.246, allocations: 0.6868 GB / 1.909 GB, free: 41.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/4.246, allocations: 0.7923 MB / 1.909 GB, free: 40.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006177/4.247, allocations: 150 kB / 1.91 GB, free: 40.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/4.247, allocations: 35.44 kB / 1.91 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of SimCode: time 9.62e-07/4.247, allocations: 0 / 1.91 GB, free: 40.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.01982/4.267, allocations: 13.54 MB / 1.923 GB, free: 27.41 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/jenkins1/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