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.001052/0.001052, allocations: 200.7 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.5 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007396/0.0007397, allocations: 106.7 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1756/0.1756, allocations: 44.84 MB / 392 MB, free: 9.305 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002511, allocations: 11.98 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.09973, allocations: 62.96 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3075/0.4073, allocations: 136.2 MB / 0.6483 GB, free: 5.23 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005022/0.4124, allocations: 4.762 MB / 0.653 GB, free: 472 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.591e-05/0.4125, allocations: 0 / 0.653 GB, free: 472 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.4128, allocations: 39.73 kB / 0.653 GB, free: 432 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.4153, allocations: 0.9538 MB / 0.654 GB, free: 15.46 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.4157, allocations: 126.3 kB / 0.6541 GB, free: 15.35 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004441/0.4161, allocations: 414.1 kB / 0.6545 GB, free: 14.94 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.4162, allocations: 13.69 kB / 0.6545 GB, free: 14.93 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.4164, allocations: 167.3 kB / 0.6547 GB, free: 14.77 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.4167, allocations: 179.5 kB / 0.6548 GB, free: 14.59 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.4167, allocations: 4 kB / 0.6548 GB, free: 14.59 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.4182, allocations: 0.8739 MB / 0.6557 GB, free: 13.71 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.4182, allocations: 47.75 kB / 0.6557 GB, free: 13.66 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.4183, allocations: 61.64 kB / 0.6558 GB, free: 13.6 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007296/0.4191, allocations: 0.5746 MB / 0.6563 GB, free: 13.02 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4191, allocations: 3.938 kB / 0.6563 GB, free: 13.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4191, allocations: 0 / 0.6563 GB, free: 13.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.4191, allocations: 0 / 0.6563 GB, free: 13.02 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.001117/0.4202, allocations: 0.6202 MB / 0.657 GB, free: 12.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4202, allocations: 8.031 kB / 0.657 GB, free: 12.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.4272, allocations: 0.6088 MB / 0.6576 GB, free: 11.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.4276, allocations: 254.7 kB / 0.6578 GB, free: 11.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.4277, allocations: 127.3 kB / 0.6579 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.4278, allocations: 20 kB / 0.6579 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.429, allocations: 0.5634 MB / 0.6585 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.429, allocations: 0 / 0.6585 GB, free: 10.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.4291, allocations: 12 kB / 0.6585 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.4291, allocations: 8 kB / 0.6585 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.4305, allocations: 0.6299 MB / 0.6591 GB, free: 10.02 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.002129/0.4326, allocations: 1.725 MB / 0.6608 GB, free: 8.152 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.433, allocations: 161.6 kB / 0.661 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.4331, allocations: 72.83 kB / 0.661 GB, free: 7.914 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007469/0.4339, allocations: 0.6965 MB / 0.6617 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4339, allocations: 38.55 kB / 0.6617 GB, free: 7.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.4339, allocations: 4 kB / 0.6618 GB, free: 7.066 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.0009916/0.4349, allocations: 318.1 kB / 0.6621 GB, free: 6.754 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.435, allocations: 51.41 kB / 0.6621 GB, free: 6.691 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.4352, allocations: 195 kB / 0.6623 GB, free: 6.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.4352, allocations: 33.7 kB / 0.6623 GB, free: 6.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4353, allocations: 191.1 kB / 0.6625 GB, free: 6.262 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.4354, allocations: 63.09 kB / 0.6626 GB, free: 6.199 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.4354, allocations: 8 kB / 0.6626 GB, free: 6.191 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4355, allocations: 327 kB / 0.6629 GB, free: 5.863 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4357, allocations: 68.7 kB / 0.663 GB, free: 5.797 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4359, allocations: 265.1 kB / 0.6632 GB, free: 5.445 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4361, allocations: 99.86 kB / 0.6633 GB, free: 5.348 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4361, allocations: 4 kB / 0.6633 GB, free: 5.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005985/0.4367, allocations: 369.6 kB / 0.6637 GB, free: 4.977 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4368, allocations: 7.984 kB / 0.6637 GB, free: 4.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4368, allocations: 8 kB / 0.6637 GB, free: 4.961 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4368, allocations: 12 kB / 0.6637 GB, free: 4.949 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.4372, allocations: 123.8 kB / 0.6638 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000352/0.4376, allocations: 0.6094 MB / 0.6644 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.4378, allocations: 43.72 kB / 0.6644 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.4379, allocations: 44 kB / 0.6645 GB, free: 4.109 MB / 474.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.0001516/0.438, allocations: 145.6 kB / 0.6646 GB, free: 3.957 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.4381, allocations: 27.73 kB / 0.6646 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008588/0.439, allocations: 425.8 kB / 0.665 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.439, allocations: 8 kB / 0.6651 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.439, allocations: 0 / 0.6651 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.439, allocations: 3.953 kB / 0.6651 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008195/0.4398, allocations: 0.6229 MB / 0.6657 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4398, allocations: 6.453 kB / 0.6657 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.4401, allocations: 51.97 kB / 0.6657 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4401, allocations: 4 kB / 0.6657 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4401, allocations: 11.98 kB / 0.6657 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/0.4404, allocations: 0.5899 MB / 0.6663 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4404, allocations: 4.031 kB / 0.6663 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.4408, allocations: 311.1 kB / 0.6666 GB, free: 1.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4409, allocations: 108.9 kB / 0.6667 GB, free: 1.617 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.441, allocations: 4 kB / 0.6667 GB, free: 1.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4412, allocations: 15.98 kB / 0.6667 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.4413, allocations: 19.94 kB / 0.6668 GB, free: 1.578 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.4413, allocations: 19.92 kB / 0.6668 GB, free: 1.559 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.4414, allocations: 139 kB / 0.6669 GB, free: 1.422 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4415, allocations: 4 kB / 0.6669 GB, free: 1.418 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006092/0.4421, allocations: 148 kB / 0.6671 GB, free: 1.273 MB / 474.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.0005337/0.4426, allocations: 249.7 kB / 0.6673 GB, free: 1.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.4431, allocations: 222.7 kB / 0.6675 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4431, allocations: 4 kB / 0.6675 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.4433, allocations: 75.89 kB / 0.6676 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.4438, allocations: 57.2 kB / 0.6676 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4451, allocations: 0.8307 MB / 0.6684 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4454, allocations: 0.7211 MB / 0.6692 GB, free: 15.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.4457, allocations: 95.34 kB / 0.6692 GB, free: 14.96 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4457, allocations: 0 / 0.6692 GB, free: 14.96 MB / 490.7 MB Notification: Performance of Templates: time 0.007579/0.4533, allocations: 5.258 MB / 0.6744 GB, free: 9.703 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