Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 195.8 kB / 16.1 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.5 MB / 243.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008158/0.000816, allocations: 101 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3004/0.3004, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.000253, allocations: 15.98 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3037, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1413/0.4451, allocations: 136.2 MB / 0.6489 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005261/0.4504, allocations: 4.758 MB / 0.6536 GB, free: 12.1 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.4506, allocations: 0 / 0.6536 GB, free: 12.1 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.4509, allocations: 39.73 kB / 0.6536 GB, free: 12.06 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.454, allocations: 0.9987 MB / 0.6546 GB, free: 11.06 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.4543, allocations: 133.3 kB / 0.6547 GB, free: 10.93 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.4549, allocations: 414.1 kB / 0.6551 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.665e-05/0.4549, allocations: 13.69 kB / 0.6551 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.4552, allocations: 163.3 kB / 0.6553 GB, free: 10.36 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.4555, allocations: 183.4 kB / 0.6554 GB, free: 10.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.4556, allocations: 12 kB / 0.6554 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.4576, allocations: 0.9595 MB / 0.6564 GB, free: 9.207 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.4577, allocations: 43.81 kB / 0.6564 GB, free: 9.164 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.4579, allocations: 137.2 kB / 0.6566 GB, free: 9.023 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.4588, allocations: 0.5902 MB / 0.6571 GB, free: 8.434 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4589, allocations: 0 / 0.6571 GB, free: 8.434 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4589, allocations: 0 / 0.6571 GB, free: 8.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.4589, allocations: 0 / 0.6571 GB, free: 8.434 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001193/0.4601, allocations: 0.6127 MB / 0.6577 GB, free: 7.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4601, allocations: 11.97 kB / 0.6577 GB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007232/0.4674, allocations: 0.6169 MB / 0.6583 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.4679, allocations: 259.4 kB / 0.6586 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.468, allocations: 123.4 kB / 0.6587 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.4681, allocations: 20 kB / 0.6587 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.4693, allocations: 0.5556 MB / 0.6593 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4693, allocations: 0 / 0.6593 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.4694, allocations: 12 kB / 0.6593 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.4694, allocations: 15.94 kB / 0.6593 GB, free: 6.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.4709, allocations: 0.6221 MB / 0.6599 GB, free: 5.441 MB / 474.7 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.002175/0.4731, allocations: 1.737 MB / 0.6616 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.4734, allocations: 161.9 kB / 0.6618 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.4736, allocations: 72.88 kB / 0.6618 GB, free: 3.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006726/0.4742, allocations: 0.6927 MB / 0.6625 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4743, allocations: 38.56 kB / 0.6625 GB, free: 2.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.4743, allocations: 0 / 0.6625 GB, free: 2.48 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001019/0.4753, allocations: 321.2 kB / 0.6628 GB, free: 2.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.4754, allocations: 55.34 kB / 0.6629 GB, free: 2.094 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4755, allocations: 191.8 kB / 0.6631 GB, free: 1.898 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.4756, allocations: 25.7 kB / 0.6631 GB, free: 1.867 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.4757, allocations: 195.1 kB / 0.6633 GB, free: 1.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.4758, allocations: 63.11 kB / 0.6633 GB, free: 1.609 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.4758, allocations: 8 kB / 0.6634 GB, free: 1.602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4759, allocations: 330.8 kB / 0.6637 GB, free: 1.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4761, allocations: 68.7 kB / 0.6637 GB, free: 1.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.4763, allocations: 256 kB / 0.664 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.4768, allocations: 364.2 kB / 0.6643 GB, free: 420 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4768, allocations: 4 kB / 0.6643 GB, free: 416 kB / 474.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006037/0.4774, allocations: 365.5 kB / 0.6647 GB, free: 44 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4775, allocations: 15.97 kB / 0.6647 GB, free: 28 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4775, allocations: 11.94 kB / 0.6647 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.4775, allocations: 8 kB / 0.6647 GB, free: 8 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.478, allocations: 127.9 kB / 0.6648 GB, free: 15.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003678/0.4783, allocations: 0.6016 MB / 0.6654 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.4786, allocations: 39.59 kB / 0.6655 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.4787, allocations: 48.08 kB / 0.6655 GB, free: 15.17 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.4788, allocations: 149.5 kB / 0.6657 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.4789, allocations: 19.81 kB / 0.6657 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008877/0.4798, allocations: 425.1 kB / 0.6661 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4798, allocations: 0 / 0.6661 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4798, allocations: 4 kB / 0.6661 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4798, allocations: 4 kB / 0.6661 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.4807, allocations: 0.6225 MB / 0.6667 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4807, allocations: 8.219 kB / 0.6667 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.4809, allocations: 59.89 kB / 0.6668 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4809, allocations: 7.938 kB / 0.6668 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4809, allocations: 11.94 kB / 0.6668 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003067/0.4812, allocations: 0.5977 MB / 0.6674 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4813, allocations: 0 / 0.6674 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.4816, allocations: 294.5 kB / 0.6676 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.4817, allocations: 116.9 kB / 0.6678 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.4818, allocations: 7.984 kB / 0.6678 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.482, allocations: 8 kB / 0.6678 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4821, allocations: 11.98 kB / 0.6678 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.4821, allocations: 27.92 kB / 0.6678 GB, free: 12.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.4822, allocations: 135.6 kB / 0.6679 GB, free: 12.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4822, allocations: 0 / 0.6679 GB, free: 12.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.4828, allocations: 160 kB / 0.6681 GB, free: 12.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005399/0.4834, allocations: 258.7 kB / 0.6683 GB, free: 12.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004846/0.4839, allocations: 223 kB / 0.6685 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4839, allocations: 0 / 0.6685 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.4841, allocations: 75.84 kB / 0.6686 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.4846, allocations: 56.83 kB / 0.6687 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.4859, allocations: 0.8222 MB / 0.6695 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4862, allocations: 0.7364 MB / 0.6702 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.4865, allocations: 91.34 kB / 0.6703 GB, free: 10.01 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4865, allocations: 0 / 0.6703 GB, free: 10.01 MB / 490.7 MB Notification: Performance of Templates: time 0.007657/0.4942, allocations: 5.246 MB / 0.6754 GB, free: 4.758 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches