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.00126/0.00126, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 77.25 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.153, allocations: 62.44 MB / 480 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01586/0.1689, allocations: 11.28 MB / 491.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.1827, allocations: 11.79 MB / 0.4913 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1829, allocations: 0 / 0.4913 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1833, allocations: 71.5 kB / 0.4914 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.1945, allocations: 3.121 MB / 0.4944 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.195, allocations: 150.2 kB / 0.4946 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006374/0.2014, allocations: 3.901 MB / 0.4984 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.2015, allocations: 16.41 kB / 0.4984 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.2016, allocations: 139.5 kB / 0.4985 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2677/0.4694, allocations: 7.118 MB / 0.5055 GB, free: 23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.4695, allocations: 13 kB / 0.5055 GB, free: 22.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006698/0.4762, allocations: 2.081 MB / 0.5075 GB, free: 22.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.4764, allocations: 41.02 kB / 0.5075 GB, free: 22.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000286/0.4766, allocations: 122.8 kB / 0.5077 GB, free: 22.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007132/0.4838, allocations: 1.539 MB / 0.5092 GB, free: 22.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.4838, allocations: 8.188 kB / 0.5092 GB, free: 22.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.4838, allocations: 0 / 0.5092 GB, free: 22.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.4839, allocations: 1 kB / 0.5092 GB, free: 22.94 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.005846/0.4897, allocations: 0.9138 MB / 0.5101 GB, free: 22.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.161e-05/0.4898, allocations: 9.219 kB / 0.5101 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.491, allocations: 77.44 kB / 0.5102 GB, free: 22.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006808/0.4917, allocations: 251.1 kB / 0.5104 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.4917, allocations: 20.05 kB / 0.5104 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.4918, allocations: 27.94 kB / 0.5104 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.4934, allocations: 481.2 kB / 0.5109 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.4934, allocations: 7 kB / 0.5109 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/0.4935, allocations: 13.62 kB / 0.5109 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.4935, allocations: 6.844 kB / 0.5109 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.495, allocations: 0.6806 MB / 0.5116 GB, free: 22.04 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.007941/0.503, allocations: 3.103 MB / 0.5146 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.5037, allocations: 222.9 kB / 0.5148 GB, free: 20.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.5039, allocations: 75.95 kB / 0.5149 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07695/0.5808, allocations: 30.77 MB / 0.5449 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007557/0.5816, allocations: 342.7 kB / 0.5453 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 4.108e-06/0.5817, allocations: 3.562 kB / 0.5453 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003406/0.5851, allocations: 0.9717 MB / 0.5462 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000245/0.5853, allocations: 487.7 kB / 0.5467 GB, free: 14.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.5855, allocations: 155.4 kB / 0.5468 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.5856, allocations: 35.95 kB / 0.5469 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5857, allocations: 159.1 kB / 0.547 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5858, allocations: 132.6 kB / 0.5472 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.5859, allocations: 88.81 kB / 0.5472 GB, free: 14.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.586, allocations: 331.3 kB / 0.5476 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.5862, allocations: 72.58 kB / 0.5476 GB, free: 13.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.5865, allocations: 324.7 kB / 0.5479 GB, free: 13.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.5871, allocations: 449.3 kB / 0.5484 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5871, allocations: 4 kB / 0.5484 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007695/0.5879, allocations: 445.9 kB / 0.5488 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5879, allocations: 8 kB / 0.5488 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5879, allocations: 8 kB / 0.5488 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002062/0.59, allocations: 323 kB / 0.5491 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.5903, allocations: 105.9 kB / 0.5492 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007711/0.5911, allocations: 1.225 MB / 0.5504 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.5914, allocations: 19.94 kB / 0.5504 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.5915, allocations: 31.98 kB / 0.5505 GB, free: 10.79 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.000187/0.5917, allocations: 160.4 kB / 0.5506 GB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.5918, allocations: 30.84 kB / 0.5506 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.5934, allocations: 1.055 MB / 0.5517 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.5934, allocations: 7.984 kB / 0.5517 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.5935, allocations: 7.938 kB / 0.5517 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.5935, allocations: 3.375 kB / 0.5517 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.5956, allocations: 1.549 MB / 0.5532 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5956, allocations: 0 / 0.5532 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.5958, allocations: 43.39 kB / 0.5532 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.597, allocations: 245.5 kB / 0.5535 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.597, allocations: 8 kB / 0.5535 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00077/0.5978, allocations: 1.265 MB / 0.5547 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.5978, allocations: 7.984 kB / 0.5547 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.5986, allocations: 0.6062 MB / 0.5553 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5988, allocations: 112.7 kB / 0.5554 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.5989, allocations: 57.38 kB / 0.5555 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5991, allocations: 11.98 kB / 0.5555 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.5992, allocations: 19.97 kB / 0.5555 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.5992, allocations: 12 kB / 0.5555 GB, free: 5.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.5995, allocations: 279.1 kB / 0.5558 GB, free: 5.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5995, allocations: 0 / 0.5558 GB, free: 5.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001979/0.6015, allocations: 439.6 kB / 0.5562 GB, free: 4.648 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.003408/0.6049, allocations: 0.6414 MB / 0.5568 GB, free: 4.078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009012/0.6059, allocations: 388.3 kB / 0.5572 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.6059, allocations: 4 kB / 0.5572 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.6063, allocations: 236 kB / 0.5574 GB, free: 3.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009719/0.6073, allocations: 128.2 kB / 0.5576 GB, free: 3.379 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.159/1.766, allocations: 0.4918 GB / 1.049 GB, free: 65.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.766, allocations: 0.8279 MB / 1.05 GB, free: 64.99 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005555/1.767, allocations: 164.3 kB / 1.05 GB, free: 64.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/1.767, allocations: 39.42 kB / 1.05 GB, free: 64.81 MB / 0.5294 GB Notification: Performance of SimCode: time 1.694e-06/1.767, allocations: 0 / 1.05 GB, free: 64.81 MB / 0.5294 GB Notification: Performance of Templates: time 0.02089/1.788, allocations: 15.53 MB / 1.065 GB, free: 49.39 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