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.001106/0.001106, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3106/0.3106, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 79.88 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4502, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01499/0.4652, allocations: 11.28 MB / 0.5421 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.4798, allocations: 11.78 MB / 0.5536 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002379/0.4801, allocations: 0 / 0.5536 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.4805, allocations: 79.47 kB / 0.5536 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01275/0.4933, allocations: 3.109 MB / 0.5567 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.4937, allocations: 152.5 kB / 0.5568 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006114/0.4999, allocations: 3.901 MB / 0.5606 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.5, allocations: 16.34 kB / 0.5606 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.5003, allocations: 139.5 kB / 0.5608 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.5104, allocations: 7.118 MB / 0.5677 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.604e-05/0.5105, allocations: 12 kB / 0.5677 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007034/0.5176, allocations: 2.115 MB / 0.5698 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.5178, allocations: 47.77 kB / 0.5698 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.5181, allocations: 127.4 kB / 0.57 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006725/0.5248, allocations: 1.543 MB / 0.5715 GB, free: 8.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.5249, allocations: 0 / 0.5715 GB, free: 8.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5249, allocations: 0 / 0.5715 GB, free: 8.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.5249, allocations: 0 / 0.5715 GB, free: 8.195 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.002709/0.5276, allocations: 0.9413 MB / 0.5724 GB, free: 7.203 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.179e-05/0.5277, allocations: 12.03 kB / 0.5724 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.5284, allocations: 76.73 kB / 0.5725 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.529, allocations: 248 kB / 0.5727 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.529, allocations: 16.94 kB / 0.5727 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.529, allocations: 36.31 kB / 0.5728 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5301, allocations: 489.5 kB / 0.5732 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.5301, allocations: 0 / 0.5732 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.5301, allocations: 20 kB / 0.5733 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5302, allocations: 8 kB / 0.5733 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.5313, allocations: 0.6773 MB / 0.5739 GB, free: 5.566 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.00631/0.5376, allocations: 3.099 MB / 0.577 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.5383, allocations: 216.1 kB / 0.5772 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.5384, allocations: 77.39 kB / 0.5772 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07802/0.6164, allocations: 30.78 MB / 0.6073 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008238/0.6173, allocations: 346.5 kB / 0.6076 GB, free: 420 kB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.6173, allocations: 4 kB / 0.6076 GB, free: 416 kB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003141/0.6205, allocations: 0.9975 MB / 0.6086 GB, free: 15.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002573/0.6208, allocations: 486.5 kB / 0.6091 GB, free: 14.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.6209, allocations: 157.4 kB / 0.6092 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.621, allocations: 29.7 kB / 0.6092 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.6211, allocations: 172.3 kB / 0.6094 GB, free: 14.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.6212, allocations: 142.8 kB / 0.6095 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.6213, allocations: 94.19 kB / 0.6096 GB, free: 14.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.6214, allocations: 330.8 kB / 0.6099 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6216, allocations: 69.09 kB / 0.61 GB, free: 13.81 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.6219, allocations: 322.1 kB / 0.6103 GB, free: 13.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.6224, allocations: 448 kB / 0.6107 GB, free: 12.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.6225, allocations: 8 kB / 0.6108 GB, free: 12.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007826/0.6233, allocations: 434.7 kB / 0.6112 GB, free: 12.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6233, allocations: 12.03 kB / 0.6112 GB, free: 12.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6233, allocations: 12.75 kB / 0.6112 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/0.6254, allocations: 333.3 kB / 0.6115 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.6257, allocations: 99.83 kB / 0.6116 GB, free: 11.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007847/0.6265, allocations: 1.223 MB / 0.6128 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.6267, allocations: 19.95 kB / 0.6128 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.6268, allocations: 35.98 kB / 0.6129 GB, free: 10.6 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.0002249/0.627, allocations: 161.7 kB / 0.613 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6271, allocations: 31.89 kB / 0.613 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.6287, allocations: 1.046 MB / 0.6141 GB, free: 9.312 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6287, allocations: 8 kB / 0.6141 GB, free: 9.305 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.6288, allocations: 7.922 kB / 0.6141 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.6288, allocations: 12.2 kB / 0.6141 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.6305, allocations: 1.544 MB / 0.6156 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6305, allocations: 7.938 kB / 0.6156 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.6307, allocations: 43.91 kB / 0.6156 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.6319, allocations: 241.6 kB / 0.6159 GB, free: 7.301 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.632, allocations: 12 kB / 0.6159 GB, free: 7.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007244/0.6327, allocations: 1.262 MB / 0.6171 GB, free: 5.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6327, allocations: 4.031 kB / 0.6171 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.6335, allocations: 0.6029 MB / 0.6177 GB, free: 5.324 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.6335, allocations: 108.8 kB / 0.6178 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.6336, allocations: 55.45 kB / 0.6179 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.6339, allocations: 15.98 kB / 0.6179 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.6339, allocations: 19.97 kB / 0.6179 GB, free: 5.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.634, allocations: 20 kB / 0.6179 GB, free: 5.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.6343, allocations: 275.1 kB / 0.6182 GB, free: 4.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6343, allocations: 0 / 0.6182 GB, free: 4.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001538/0.6358, allocations: 442.6 kB / 0.6186 GB, free: 4.387 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.001475/0.6373, allocations: 0.6654 MB / 0.6193 GB, free: 3.711 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007999/0.6381, allocations: 376.4 kB / 0.6196 GB, free: 3.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.6381, allocations: 4 kB / 0.6196 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.6384, allocations: 233.4 kB / 0.6198 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.6392, allocations: 119.1 kB / 0.62 GB, free: 2.977 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.367/2.006, allocations: 0.4918 GB / 1.112 GB, free: 62.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/2.007, allocations: 0.8313 MB / 1.113 GB, free: 61.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000402/2.007, allocations: 160.5 kB / 1.113 GB, free: 61.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/2.007, allocations: 39.44 kB / 1.113 GB, free: 61.54 MB / 0.6075 GB Notification: Performance of SimCode: time 1.743e-06/2.007, allocations: 0 / 1.113 GB, free: 61.54 MB / 0.6075 GB Notification: Performance of Templates: time 0.01878/2.026, allocations: 15.62 MB / 1.128 GB, free: 46.05 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/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