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.001155/0.001156, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2634/0.2634, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003698, allocations: 8.375 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 63.55 MB / 483.1 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01627/0.1774, allocations: 11.02 MB / 494.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.1927, allocations: 11.84 MB / 0.4941 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.193, allocations: 0 / 0.4941 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.1935, allocations: 63.62 kB / 0.4941 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.2072, allocations: 2.64 MB / 0.4967 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.2078, allocations: 143.2 kB / 0.4969 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007905/0.2157, allocations: 4.149 MB / 0.5009 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.2159, allocations: 16.39 kB / 0.5009 GB, free: 6.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.2162, allocations: 139.4 kB / 0.5011 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3539/0.5701, allocations: 7.553 MB / 0.5084 GB, free: 22.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.679e-05/0.5702, allocations: 7.406 kB / 0.5084 GB, free: 22.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007041/0.5772, allocations: 2.095 MB / 0.5105 GB, free: 22.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.5774, allocations: 42.23 kB / 0.5105 GB, free: 22.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.5777, allocations: 149.2 kB / 0.5107 GB, free: 22.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.5824, allocations: 1.537 MB / 0.5122 GB, free: 22.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.5824, allocations: 1.906 kB / 0.5122 GB, free: 22.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.626e-06/0.5824, allocations: 0 / 0.5122 GB, free: 22.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5824, allocations: 0 / 0.5122 GB, free: 22.06 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.003067/0.5855, allocations: 0.8594 MB / 0.513 GB, free: 21.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/0.5856, allocations: 12.94 kB / 0.513 GB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.5862, allocations: 79.92 kB / 0.5131 GB, free: 21.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.5866, allocations: 244.1 kB / 0.5133 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.5867, allocations: 18.47 kB / 0.5134 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.5868, allocations: 28.03 kB / 0.5134 GB, free: 21.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.5881, allocations: 485 kB / 0.5138 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5881, allocations: 1.062 kB / 0.5138 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.5882, allocations: 11.91 kB / 0.5139 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.5882, allocations: 9 kB / 0.5139 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.5895, allocations: 0.6791 MB / 0.5145 GB, free: 21.17 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.006594/0.5961, allocations: 3.088 MB / 0.5175 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.5968, allocations: 221.1 kB / 0.5178 GB, free: 19.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.5969, allocations: 72.73 kB / 0.5178 GB, free: 19.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07468/0.6716, allocations: 30.61 MB / 0.5477 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009024/0.6726, allocations: 347.8 kB / 0.5481 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 5.54e-06/0.6726, allocations: 0 / 0.5481 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003594/0.6762, allocations: 0.9685 MB / 0.549 GB, free: 13.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004707/0.6767, allocations: 485.6 kB / 0.5495 GB, free: 12.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.677, allocations: 160.2 kB / 0.5496 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.6771, allocations: 29.64 kB / 0.5496 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6772, allocations: 162.5 kB / 0.5498 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.6774, allocations: 134.1 kB / 0.5499 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.6775, allocations: 44.5 kB / 0.55 GB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6776, allocations: 326.5 kB / 0.5503 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.6778, allocations: 75.83 kB / 0.5504 GB, free: 11.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.6782, allocations: 317.3 kB / 0.5507 GB, free: 11.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.6789, allocations: 455.2 kB / 0.5511 GB, free: 11.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6789, allocations: 4 kB / 0.5511 GB, free: 11.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009202/0.6798, allocations: 442.7 kB / 0.5515 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.6798, allocations: 8 kB / 0.5515 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.6799, allocations: 8 kB / 0.5515 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.682, allocations: 312.7 kB / 0.5518 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.6823, allocations: 106.7 kB / 0.5519 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000833/0.6832, allocations: 1.223 MB / 0.5531 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.6835, allocations: 18.69 kB / 0.5531 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/0.6836, allocations: 31 kB / 0.5532 GB, free: 9.102 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.0002825/0.6839, allocations: 162.2 kB / 0.5533 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.684, allocations: 31.16 kB / 0.5534 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.6859, allocations: 1.058 MB / 0.5544 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.6859, allocations: 7.984 kB / 0.5544 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.6859, allocations: 7.938 kB / 0.5544 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6859, allocations: 0 / 0.5544 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.6881, allocations: 1.544 MB / 0.5559 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.6881, allocations: 4 kB / 0.5559 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.6883, allocations: 56.52 kB / 0.556 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.6897, allocations: 235.6 kB / 0.5562 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.6897, allocations: 11.98 kB / 0.5562 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009403/0.6907, allocations: 1.273 MB / 0.5574 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6907, allocations: 0 / 0.5574 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009007/0.6916, allocations: 0.6053 MB / 0.558 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.6919, allocations: 216.1 kB / 0.5582 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.692, allocations: 11.94 kB / 0.5583 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.6923, allocations: 19.98 kB / 0.5583 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.6924, allocations: 23.97 kB / 0.5583 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.6924, allocations: 12 kB / 0.5583 GB, free: 4.086 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.6928, allocations: 275.1 kB / 0.5586 GB, free: 3.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6928, allocations: 0 / 0.5586 GB, free: 3.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002394/0.6952, allocations: 441.8 kB / 0.559 GB, free: 3.387 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.003306/0.6985, allocations: 0.6593 MB / 0.5596 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007999/0.6993, allocations: 361.2 kB / 0.56 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.6993, allocations: 1.688 kB / 0.56 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.6998, allocations: 234.7 kB / 0.5602 GB, free: 2.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.7013, allocations: 122 kB / 0.5603 GB, free: 2.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.267/1.968, allocations: 0.4901 GB / 1.05 GB, free: 66.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/1.969, allocations: 0.8274 MB / 1.051 GB, free: 65.19 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005899/1.969, allocations: 164.6 kB / 1.051 GB, free: 65.04 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/1.97, allocations: 43.44 kB / 1.051 GB, free: 65 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/1.97, allocations: 2.156 kB / 1.051 GB, free: 65 MB / 0.5294 GB Notification: Performance of Templates: time 0.0214/1.991, allocations: 15.21 MB / 1.066 GB, free: 49.89 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