Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 113.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.00151, allocations: 198.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 79.86 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4323, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01437/0.4467, allocations: 11.27 MB / 0.5427 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.4604, allocations: 11.78 MB / 0.5542 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.4607, allocations: 7.938 kB / 0.5542 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.4612, allocations: 63.56 kB / 0.5543 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.4735, allocations: 3.129 MB / 0.5573 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.4739, allocations: 147.6 kB / 0.5575 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005593/0.4795, allocations: 3.897 MB / 0.5613 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.4796, allocations: 12.41 kB / 0.5613 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.4798, allocations: 147.5 kB / 0.5614 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008928/0.4888, allocations: 7.126 MB / 0.5684 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.4888, allocations: 8 kB / 0.5684 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006904/0.4958, allocations: 2.111 MB / 0.5705 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-05/0.4959, allocations: 43.83 kB / 0.5705 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.4961, allocations: 127.4 kB / 0.5706 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.5014, allocations: 1.54 MB / 0.5721 GB, free: 8.219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5014, allocations: 0 / 0.5721 GB, free: 8.219 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5014, allocations: 3.938 kB / 0.5721 GB, free: 8.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.5014, allocations: 0 / 0.5721 GB, free: 8.215 MB / 430.1 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.002096/0.5035, allocations: 0.9204 MB / 0.573 GB, free: 7.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5036, allocations: 12.03 kB / 0.5731 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.5042, allocations: 76.59 kB / 0.5731 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.5046, allocations: 248 kB / 0.5734 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.5046, allocations: 20.94 kB / 0.5734 GB, free: 6.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.5046, allocations: 28.36 kB / 0.5734 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.5056, allocations: 493.5 kB / 0.5739 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.5056, allocations: 3.938 kB / 0.5739 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.5056, allocations: 12 kB / 0.5739 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5057, allocations: 8 kB / 0.5739 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5067, allocations: 0.689 MB / 0.5746 GB, free: 5.602 MB / 430.1 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.006179/0.5129, allocations: 3.091 MB / 0.5776 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.5136, allocations: 218.3 kB / 0.5778 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.5137, allocations: 77.38 kB / 0.5779 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07605/0.5898, allocations: 30.76 MB / 0.6079 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007812/0.5906, allocations: 358.5 kB / 0.6083 GB, free: 476 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.5906, allocations: 0 / 0.6083 GB, free: 476 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003078/0.5937, allocations: 0.969 MB / 0.6092 GB, free: 15.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/0.5939, allocations: 486.6 kB / 0.6097 GB, free: 14.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.5941, allocations: 165.4 kB / 0.6098 GB, free: 14.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.5941, allocations: 33.7 kB / 0.6099 GB, free: 14.69 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5942, allocations: 164 kB / 0.61 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.5943, allocations: 130.1 kB / 0.6101 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.5944, allocations: 94.14 kB / 0.6102 GB, free: 14.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5946, allocations: 334.8 kB / 0.6105 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.5947, allocations: 73.08 kB / 0.6106 GB, free: 13.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.595, allocations: 318.1 kB / 0.6109 GB, free: 13.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/0.5955, allocations: 456 kB / 0.6114 GB, free: 12.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5955, allocations: 0 / 0.6114 GB, free: 12.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007005/0.5962, allocations: 442.7 kB / 0.6118 GB, free: 12.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5963, allocations: 10.19 kB / 0.6118 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.5963, allocations: 8 kB / 0.6118 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001998/0.5983, allocations: 326 kB / 0.6121 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.5986, allocations: 103.8 kB / 0.6122 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006493/0.5993, allocations: 1.223 MB / 0.6134 GB, free: 10.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.5995, allocations: 20 kB / 0.6134 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.5995, allocations: 31.98 kB / 0.6134 GB, free: 10.69 MB / 478.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.5997, allocations: 165.5 kB / 0.6136 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/0.5998, allocations: 27.91 kB / 0.6136 GB, free: 10.49 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.6011, allocations: 1.041 MB / 0.6146 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.6012, allocations: 7.984 kB / 0.6147 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.6012, allocations: 7.938 kB / 0.6147 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6012, allocations: 0 / 0.6147 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.6027, allocations: 1.556 MB / 0.6162 GB, free: 7.688 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.6027, allocations: 7.938 kB / 0.6162 GB, free: 7.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.6029, allocations: 39.92 kB / 0.6162 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.6041, allocations: 233.6 kB / 0.6165 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.6041, allocations: 12 kB / 0.6165 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006512/0.6048, allocations: 1.266 MB / 0.6177 GB, free: 6.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6048, allocations: 3.938 kB / 0.6177 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.6055, allocations: 0.6141 MB / 0.6183 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.6056, allocations: 104.8 kB / 0.6184 GB, free: 5.297 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/0.6057, allocations: 47.38 kB / 0.6184 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.6059, allocations: 15.98 kB / 0.6185 GB, free: 5.234 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.6059, allocations: 23.97 kB / 0.6185 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.606, allocations: 8 kB / 0.6185 GB, free: 5.203 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.6063, allocations: 283.1 kB / 0.6188 GB, free: 4.926 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6063, allocations: 0 / 0.6188 GB, free: 4.926 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001549/0.6078, allocations: 435.6 kB / 0.6192 GB, free: 4.5 MB / 478.1 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/0.6092, allocations: 0.6586 MB / 0.6198 GB, free: 3.832 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006836/0.6099, allocations: 376.6 kB / 0.6202 GB, free: 3.457 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6099, allocations: 3.938 kB / 0.6202 GB, free: 3.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.6102, allocations: 233.6 kB / 0.6204 GB, free: 3.219 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/0.6109, allocations: 118.7 kB / 0.6205 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.208/1.819, allocations: 0.4918 GB / 1.112 GB, free: 65.22 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/1.819, allocations: 0.8274 MB / 1.113 GB, free: 64.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.819, allocations: 43.42 kB / 1.113 GB, free: 64.33 MB / 0.6075 GB Notification: Performance of SimCode: time 8.91e-07/1.819, allocations: 0 / 1.113 GB, free: 64.33 MB / 0.6075 GB Notification: Performance of Templates: time 0.01496/1.834, allocations: 14.59 MB / 1.127 GB, free: 49.8 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches