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.001371/0.001371, allocations: 114.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.1 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 84.27 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.141, allocations: 62.43 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01166/0.1527, allocations: 11.29 MB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1642, allocations: 11.72 MB / 0.4907 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1644, allocations: 4 kB / 0.4907 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1648, allocations: 63.62 kB / 0.4908 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.1742, allocations: 2.766 MB / 0.4935 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.1746, allocations: 154.4 kB / 0.4936 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005971/0.1806, allocations: 4.184 MB / 0.4977 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.1807, allocations: 16.39 kB / 0.4977 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1809, allocations: 151.4 kB / 0.4979 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2684/0.4493, allocations: 7.725 MB / 0.5054 GB, free: 23.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-05/0.4494, allocations: 9.344 kB / 0.5054 GB, free: 23.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.4549, allocations: 2.109 MB / 0.5075 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.554e-05/0.455, allocations: 46.84 kB / 0.5075 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.4551, allocations: 125.3 kB / 0.5077 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003089/0.4582, allocations: 1.551 MB / 0.5092 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4583, allocations: 0.5625 kB / 0.5092 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4583, allocations: 1.062 kB / 0.5092 GB, free: 23.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4583, allocations: 2.625 kB / 0.5092 GB, free: 23.54 MB / 382.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.002087/0.4604, allocations: 0.9166 MB / 0.5101 GB, free: 22.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4604, allocations: 10.55 kB / 0.5101 GB, free: 22.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/0.461, allocations: 78.59 kB / 0.5102 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.4613, allocations: 243.9 kB / 0.5104 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4613, allocations: 19.38 kB / 0.5104 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.4614, allocations: 30.12 kB / 0.5104 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.4623, allocations: 486.1 kB / 0.5109 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.4623, allocations: 0.9375 kB / 0.5109 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.4624, allocations: 16.61 kB / 0.5109 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4624, allocations: 8.016 kB / 0.5109 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.4636, allocations: 0.6797 MB / 0.5116 GB, free: 22.65 MB / 382.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.007373/0.471, allocations: 3.106 MB / 0.5146 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/0.4718, allocations: 219.8 kB / 0.5148 GB, free: 21.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4719, allocations: 72.23 kB / 0.5149 GB, free: 21.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07457/0.5465, allocations: 30.76 MB / 0.5449 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007377/0.5473, allocations: 341.2 kB / 0.5453 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.5473, allocations: 0 / 0.5453 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003264/0.5505, allocations: 0.9829 MB / 0.5462 GB, free: 15.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002787/0.5508, allocations: 476.4 kB / 0.5467 GB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.551, allocations: 162.5 kB / 0.5468 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.5511, allocations: 33.06 kB / 0.5469 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5512, allocations: 171.5 kB / 0.547 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.5514, allocations: 126.8 kB / 0.5472 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.5515, allocations: 90.3 kB / 0.5472 GB, free: 14.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5516, allocations: 330.2 kB / 0.5476 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.5518, allocations: 75.33 kB / 0.5476 GB, free: 14.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.5522, allocations: 319.5 kB / 0.5479 GB, free: 13.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/0.5528, allocations: 450.5 kB / 0.5484 GB, free: 13.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5528, allocations: 4 kB / 0.5484 GB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007164/0.5535, allocations: 439.1 kB / 0.5488 GB, free: 13.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5535, allocations: 8.844 kB / 0.5488 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.5536, allocations: 8 kB / 0.5488 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.5557, allocations: 332.3 kB / 0.5491 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.556, allocations: 105.6 kB / 0.5492 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006646/0.5567, allocations: 1.221 MB / 0.5504 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.5569, allocations: 23.94 kB / 0.5504 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.557, allocations: 28.19 kB / 0.5505 GB, free: 11.3 MB / 398.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.0001897/0.5572, allocations: 166.6 kB / 0.5506 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.5573, allocations: 27.72 kB / 0.5506 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.5587, allocations: 1.057 MB / 0.5517 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.5587, allocations: 7.984 kB / 0.5517 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.5588, allocations: 9.578 kB / 0.5517 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.5588, allocations: 4 kB / 0.5517 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5604, allocations: 1.541 MB / 0.5532 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5605, allocations: 4 kB / 0.5532 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.5606, allocations: 44.3 kB / 0.5532 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.5619, allocations: 239.4 kB / 0.5535 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.562, allocations: 12 kB / 0.5535 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006494/0.5626, allocations: 1.264 MB / 0.5547 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5626, allocations: 0 / 0.5547 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007203/0.5634, allocations: 0.606 MB / 0.5553 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/0.5635, allocations: 112.8 kB / 0.5554 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.5636, allocations: 47.41 kB / 0.5555 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.5638, allocations: 24.56 kB / 0.5555 GB, free: 5.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.5639, allocations: 28.86 kB / 0.5555 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.5639, allocations: 12 kB / 0.5555 GB, free: 5.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.5642, allocations: 275.1 kB / 0.5558 GB, free: 5.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5642, allocations: 0 / 0.5558 GB, free: 5.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00204/0.5663, allocations: 435.6 kB / 0.5562 GB, free: 5.16 MB / 398.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.001707/0.568, allocations: 0.6569 MB / 0.5568 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.5687, allocations: 384.2 kB / 0.5572 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5688, allocations: 0 / 0.5572 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.5691, allocations: 237.6 kB / 0.5574 GB, free: 3.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.57, allocations: 126.1 kB / 0.5576 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.108/1.678, allocations: 0.4919 GB / 1.049 GB, free: 66.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/1.678, allocations: 0.8278 MB / 1.05 GB, free: 65.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004945/1.679, allocations: 162.8 kB / 1.05 GB, free: 65.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/1.679, allocations: 39.42 kB / 1.05 GB, free: 65.45 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/1.679, allocations: 0 / 1.05 GB, free: 65.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.01882/1.697, allocations: 15.52 MB / 1.066 GB, free: 50.04 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins/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