Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.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_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_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 105.2 kB / 17.21 MB, free: 6.266 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: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 227.4 MB / 246.3 MB, free: 10.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 76.8 kB / 416.8 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1675, allocations: 62.45 MB / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.53/0.6976, allocations: 150.8 MB / 0.6153 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007004/0.7046, allocations: 5.23 MB / 0.6204 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.7047, allocations: 4 kB / 0.6204 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.7051, allocations: 47.73 kB / 0.6205 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.7083, allocations: 1.044 MB / 0.6215 GB, free: 6.855 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.7086, allocations: 137.6 kB / 0.6216 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.7093, allocations: 470 kB / 0.6221 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.7093, allocations: 9.688 kB / 0.6221 GB, free: 6.258 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.7096, allocations: 171.3 kB / 0.6222 GB, free: 6.09 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.7099, allocations: 183.4 kB / 0.6224 GB, free: 5.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.7099, allocations: 4 kB / 0.6224 GB, free: 5.906 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.7121, allocations: 0.9946 MB / 0.6234 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.7122, allocations: 39.83 kB / 0.6234 GB, free: 4.871 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.7124, allocations: 111.5 kB / 0.6235 GB, free: 4.762 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.7139, allocations: 0.8614 MB / 0.6244 GB, free: 3.898 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7139, allocations: 4 kB / 0.6244 GB, free: 3.895 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.7139, allocations: 0 / 0.6244 GB, free: 3.895 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.7139, allocations: 0 / 0.6244 GB, free: 3.895 MB / 462.1 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.001225/0.7152, allocations: 0.6789 MB / 0.625 GB, free: 3.164 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.7152, allocations: 8.875 kB / 0.625 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007567/0.7228, allocations: 0.6102 MB / 0.6256 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.7232, allocations: 263.7 kB / 0.6259 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.7234, allocations: 123.4 kB / 0.626 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.7235, allocations: 27.94 kB / 0.626 GB, free: 2.078 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7247, allocations: 0.5633 MB / 0.6266 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7247, allocations: 7.938 kB / 0.6266 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.7248, allocations: 7.984 kB / 0.6266 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.7248, allocations: 11.98 kB / 0.6266 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.7263, allocations: 0.6268 MB / 0.6272 GB, free: 0.8281 MB / 462.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.002143/0.7284, allocations: 1.726 MB / 0.6289 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.7288, allocations: 158 kB / 0.629 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.729, allocations: 76.88 kB / 0.6291 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006435/0.7296, allocations: 0.6927 MB / 0.6298 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7297, allocations: 34.56 kB / 0.6298 GB, free: 13.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.7297, allocations: 0 / 0.6298 GB, free: 13.88 MB / 478.1 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.0009963/0.7307, allocations: 327.5 kB / 0.6301 GB, free: 13.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.7307, allocations: 51.41 kB / 0.6302 GB, free: 13.49 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.7309, allocations: 194.9 kB / 0.6304 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.7309, allocations: 29.7 kB / 0.6304 GB, free: 13.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.731, allocations: 183.2 kB / 0.6306 GB, free: 13.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.7311, allocations: 71.17 kB / 0.6307 GB, free: 13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.7312, allocations: 93.97 kB / 0.6307 GB, free: 12.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.7314, allocations: 334.8 kB / 0.6311 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.7315, allocations: 60.72 kB / 0.6311 GB, free: 12.51 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.7318, allocations: 275.8 kB / 0.6314 GB, free: 12.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.7322, allocations: 366.9 kB / 0.6317 GB, free: 11.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7322, allocations: 4 kB / 0.6317 GB, free: 11.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005992/0.7329, allocations: 367.9 kB / 0.6321 GB, free: 11.33 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7329, allocations: 8 kB / 0.6321 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7329, allocations: 8 kB / 0.6321 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7329, allocations: 15.94 kB / 0.6321 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.7333, allocations: 127.8 kB / 0.6322 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003622/0.7337, allocations: 0.6021 MB / 0.6328 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.734, allocations: 43.53 kB / 0.6329 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.734, allocations: 43.98 kB / 0.6329 GB, free: 10.46 MB / 478.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.7342, allocations: 145.6 kB / 0.633 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.7343, allocations: 19.81 kB / 0.6331 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.7352, allocations: 440 kB / 0.6335 GB, free: 9.855 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7352, allocations: 4 kB / 0.6335 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7353, allocations: 0 / 0.6335 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7353, allocations: 0 / 0.6335 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.7361, allocations: 0.6304 MB / 0.6341 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7361, allocations: 0 / 0.6341 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.7364, allocations: 55.95 kB / 0.6342 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.7364, allocations: 4 kB / 0.6342 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.7364, allocations: 12 kB / 0.6342 GB, free: 9.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003968/0.7368, allocations: 0.6 MB / 0.6348 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7368, allocations: 4.031 kB / 0.6348 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.7373, allocations: 289.3 kB / 0.635 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7374, allocations: 108.8 kB / 0.6351 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.7375, allocations: 8 kB / 0.6352 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.7377, allocations: 15.98 kB / 0.6352 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.7378, allocations: 15.92 kB / 0.6352 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.7378, allocations: 19.98 kB / 0.6352 GB, free: 7.926 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.7379, allocations: 144.2 kB / 0.6353 GB, free: 7.785 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.7379, allocations: 0 / 0.6353 GB, free: 7.785 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007042/0.7386, allocations: 163.8 kB / 0.6355 GB, free: 7.625 MB / 478.1 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 (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005768/0.7392, allocations: 245.2 kB / 0.6357 GB, free: 7.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004862/0.7397, allocations: 226.6 kB / 0.6359 GB, free: 7.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7397, allocations: 0 / 0.6359 GB, free: 7.168 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.7399, allocations: 81.45 kB / 0.636 GB, free: 7.09 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.7405, allocations: 60.39 kB / 0.6361 GB, free: 7.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.7419, allocations: 0.7754 MB / 0.6368 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.7422, allocations: 0.7287 MB / 0.6375 GB, free: 5.453 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008443/0.7431, allocations: 385 kB / 0.6379 GB, free: 5.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.7433, allocations: 59.39 kB / 0.638 GB, free: 5.02 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.7433, allocations: 0 / 0.638 GB, free: 5.02 MB / 478.1 MB Notification: Performance of Templates: time 0.009939/0.7532, allocations: 5.081 MB / 0.6429 GB, free: 15.97 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches