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.00121/0.00121, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001337, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2403/0.2403, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 79.14 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1727, allocations: 62.44 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01521/0.188, allocations: 11.51 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2019, allocations: 12.05 MB / 0.4911 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.2022, allocations: 0 / 0.4911 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.2027, allocations: 67.67 kB / 0.4911 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.215, allocations: 2.637 MB / 0.4937 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.2156, allocations: 154.2 kB / 0.4939 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008263/0.2239, allocations: 4.141 MB / 0.4979 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.224, allocations: 12.41 kB / 0.4979 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.2244, allocations: 143.5 kB / 0.498 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3315/0.556, allocations: 7.557 MB / 0.5054 GB, free: 24.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.135e-05/0.5561, allocations: 7.25 kB / 0.5054 GB, free: 24.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007793/0.5639, allocations: 2.091 MB / 0.5075 GB, free: 24.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.5641, allocations: 42.52 kB / 0.5075 GB, free: 24.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.5646, allocations: 131.4 kB / 0.5076 GB, free: 24.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006456/0.571, allocations: 1.541 MB / 0.5091 GB, free: 23.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.571, allocations: 1.062 kB / 0.5091 GB, free: 23.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5711, allocations: 3.969 kB / 0.5092 GB, free: 23.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.5711, allocations: 1.969 kB / 0.5092 GB, free: 23.95 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.002385/0.5735, allocations: 0.9165 MB / 0.51 GB, free: 23.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.5735, allocations: 14.55 kB / 0.5101 GB, free: 23.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006135/0.5741, allocations: 77.44 kB / 0.5101 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.5744, allocations: 246.9 kB / 0.5104 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5744, allocations: 18.44 kB / 0.5104 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.5745, allocations: 29.78 kB / 0.5104 GB, free: 23.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009862/0.5755, allocations: 487.8 kB / 0.5109 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5755, allocations: 3.188 kB / 0.5109 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.5755, allocations: 14.31 kB / 0.5109 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5756, allocations: 6.938 kB / 0.5109 GB, free: 23.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.5768, allocations: 0.6773 MB / 0.5116 GB, free: 23.06 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.006591/0.5834, allocations: 3.1 MB / 0.5146 GB, free: 21.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.5841, allocations: 216.6 kB / 0.5148 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.5842, allocations: 83.09 kB / 0.5149 GB, free: 21.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07606/0.6603, allocations: 30.76 MB / 0.5449 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008087/0.6611, allocations: 336.7 kB / 0.5452 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.176e-06/0.6612, allocations: 0 / 0.5452 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003308/0.6645, allocations: 0.9806 MB / 0.5462 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002349/0.6647, allocations: 484.8 kB / 0.5467 GB, free: 15.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.6649, allocations: 157.2 kB / 0.5468 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.665, allocations: 37.52 kB / 0.5468 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.6651, allocations: 167.8 kB / 0.547 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6652, allocations: 121.8 kB / 0.5471 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.6654, allocations: 92.8 kB / 0.5472 GB, free: 14.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6655, allocations: 335.3 kB / 0.5475 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.6657, allocations: 72.39 kB / 0.5476 GB, free: 14.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.666, allocations: 313.6 kB / 0.5479 GB, free: 14.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005887/0.6666, allocations: 448.3 kB / 0.5483 GB, free: 13.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.6666, allocations: 4.75 kB / 0.5483 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008525/0.6675, allocations: 451.5 kB / 0.5488 GB, free: 13.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.6675, allocations: 10.34 kB / 0.5488 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.6676, allocations: 8 kB / 0.5488 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/0.6697, allocations: 328.8 kB / 0.5491 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.67, allocations: 106.1 kB / 0.5492 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008156/0.6708, allocations: 1.221 MB / 0.5504 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.6711, allocations: 23.94 kB / 0.5504 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.6712, allocations: 28 kB / 0.5504 GB, free: 11.35 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.0001982/0.6714, allocations: 164.5 kB / 0.5506 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.6715, allocations: 27.72 kB / 0.5506 GB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.673, allocations: 1.051 MB / 0.5516 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.6731, allocations: 15.98 kB / 0.5517 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6731, allocations: 3.938 kB / 0.5517 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6731, allocations: 7.375 kB / 0.5517 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.6749, allocations: 1.54 MB / 0.5532 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.6749, allocations: 7.984 kB / 0.5532 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.6751, allocations: 43.58 kB / 0.5532 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001258/0.6763, allocations: 239.4 kB / 0.5534 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.6764, allocations: 8 kB / 0.5535 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006781/0.677, allocations: 1.265 MB / 0.5547 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.6771, allocations: 7.312 kB / 0.5547 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008291/0.6779, allocations: 0.6105 MB / 0.5553 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.678, allocations: 104.8 kB / 0.5554 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6781, allocations: 52.09 kB / 0.5554 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.6784, allocations: 19.89 kB / 0.5555 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.6785, allocations: 19.97 kB / 0.5555 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.6785, allocations: 15.28 kB / 0.5555 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003171/0.6788, allocations: 275.2 kB / 0.5558 GB, free: 5.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6788, allocations: 6.781 kB / 0.5558 GB, free: 5.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002377/0.6812, allocations: 443.6 kB / 0.5562 GB, free: 5.199 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.002781/0.684, allocations: 0.6504 MB / 0.5568 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.6847, allocations: 365.3 kB / 0.5572 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6847, allocations: 0 / 0.5572 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.685, allocations: 235.1 kB / 0.5574 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.6859, allocations: 118.1 kB / 0.5575 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.21/1.896, allocations: 0.4919 GB / 1.049 GB, free: 66.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/1.896, allocations: 0.8235 MB / 1.05 GB, free: 66.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005646/1.897, allocations: 161.5 kB / 1.05 GB, free: 65.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/1.897, allocations: 35.44 kB / 1.05 GB, free: 65.87 MB / 0.5294 GB Notification: Performance of SimCode: time 1.382e-06/1.897, allocations: 0 / 1.05 GB, free: 65.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.02265/1.92, allocations: 15.25 MB / 1.065 GB, free: 50.72 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