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.001303/0.001303, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 227.4 MB / 247.5 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2305/0.2305, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 75.41 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1283, allocations: 62.46 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3877/0.5161, allocations: 153 MB / 0.6189 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006248/0.5224, allocations: 5.143 MB / 0.6239 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.5225, allocations: 0 / 0.6239 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.5228, allocations: 55.61 kB / 0.624 GB, free: 4.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.526, allocations: 1.199 MB / 0.6252 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.5263, allocations: 143.4 kB / 0.6253 GB, free: 3.574 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000562/0.5269, allocations: 398.1 kB / 0.6257 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.527, allocations: 9.688 kB / 0.6257 GB, free: 3.176 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.5273, allocations: 171.3 kB / 0.6259 GB, free: 3.008 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003375/0.5276, allocations: 179.5 kB / 0.626 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.5277, allocations: 8 kB / 0.626 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.5299, allocations: 0.9715 MB / 0.627 GB, free: 1.852 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.53, allocations: 51.75 kB / 0.627 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.5302, allocations: 107.5 kB / 0.6271 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.5317, allocations: 0.842 MB / 0.628 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5317, allocations: 0 / 0.628 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5317, allocations: 0 / 0.628 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.5317, allocations: 0 / 0.628 GB, free: 0.8516 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.00143/0.5331, allocations: 0.6866 MB / 0.6286 GB, free: 116 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5332, allocations: 12.03 kB / 0.6286 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008301/0.5415, allocations: 0.6058 MB / 0.6292 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.542, allocations: 263.7 kB / 0.6295 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.5421, allocations: 123.4 kB / 0.6296 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.5422, allocations: 27.98 kB / 0.6296 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5435, allocations: 0.5595 MB / 0.6302 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5435, allocations: 0 / 0.6302 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.5436, allocations: 16 kB / 0.6302 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.5436, allocations: 8 kB / 0.6302 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.5451, allocations: 0.6299 MB / 0.6308 GB, free: 13.78 MB / 478.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.00231/0.5474, allocations: 1.722 MB / 0.6325 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.5478, allocations: 153.5 kB / 0.6326 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.548, allocations: 76.81 kB / 0.6327 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/0.5488, allocations: 0.7082 MB / 0.6334 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.5488, allocations: 34.55 kB / 0.6334 GB, free: 10.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.5488, allocations: 0 / 0.6334 GB, free: 10.82 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.001053/0.5499, allocations: 319.5 kB / 0.6337 GB, free: 10.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.5499, allocations: 55.41 kB / 0.6338 GB, free: 10.44 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.5501, allocations: 199.7 kB / 0.634 GB, free: 10.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5502, allocations: 25.7 kB / 0.634 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5503, allocations: 183.2 kB / 0.6342 GB, free: 10.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.5504, allocations: 67.17 kB / 0.6342 GB, free: 9.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.5505, allocations: 97.95 kB / 0.6343 GB, free: 9.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5507, allocations: 330.8 kB / 0.6347 GB, free: 9.516 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5508, allocations: 64.7 kB / 0.6347 GB, free: 9.453 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.5512, allocations: 264.9 kB / 0.635 GB, free: 9.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005161/0.5517, allocations: 366.7 kB / 0.6353 GB, free: 8.648 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5517, allocations: 4 kB / 0.6353 GB, free: 8.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006823/0.5524, allocations: 370.2 kB / 0.6357 GB, free: 8.277 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5524, allocations: 8 kB / 0.6357 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5525, allocations: 11.94 kB / 0.6357 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5525, allocations: 11.94 kB / 0.6357 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.5529, allocations: 127.9 kB / 0.6358 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004418/0.5534, allocations: 0.6015 MB / 0.6364 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.5536, allocations: 50.91 kB / 0.6365 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.5537, allocations: 43.98 kB / 0.6365 GB, free: 7.406 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.0001633/0.5539, allocations: 141.7 kB / 0.6366 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.5539, allocations: 15.81 kB / 0.6367 GB, free: 7.242 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/0.5549, allocations: 440.5 kB / 0.6371 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.5549, allocations: 0 / 0.6371 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.555, allocations: 4 kB / 0.6371 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.555, allocations: 0 / 0.6371 GB, free: 6.805 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/0.5559, allocations: 0.6304 MB / 0.6377 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5559, allocations: 224 / 0.6377 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.5562, allocations: 63.89 kB / 0.6378 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.5562, allocations: 4 kB / 0.6378 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.5562, allocations: 8 kB / 0.6378 GB, free: 6.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003887/0.5566, allocations: 0.5938 MB / 0.6383 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.5566, allocations: 7.969 kB / 0.6384 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.5571, allocations: 292.3 kB / 0.6386 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.5572, allocations: 108.8 kB / 0.6387 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.5572, allocations: 12 kB / 0.6388 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5575, allocations: 7.984 kB / 0.6388 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.5576, allocations: 19.92 kB / 0.6388 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.5576, allocations: 19.98 kB / 0.6388 GB, free: 4.875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.5577, allocations: 144.2 kB / 0.6389 GB, free: 4.734 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5577, allocations: 0 / 0.6389 GB, free: 4.734 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.5584, allocations: 155.9 kB / 0.6391 GB, free: 4.582 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.000586/0.559, allocations: 260.6 kB / 0.6393 GB, free: 4.332 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005452/0.5596, allocations: 219.6 kB / 0.6395 GB, free: 4.121 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5596, allocations: 0 / 0.6395 GB, free: 4.121 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.5598, allocations: 87.83 kB / 0.6396 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.5603, allocations: 64.8 kB / 0.6397 GB, free: 3.973 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5618, allocations: 0.7267 MB / 0.6404 GB, free: 3.188 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.5622, allocations: 0.7285 MB / 0.6411 GB, free: 2.434 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.5625, allocations: 91.34 kB / 0.6412 GB, free: 2.344 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5626, allocations: 0 / 0.6412 GB, free: 2.344 MB / 478.1 MB Notification: Performance of Templates: time 0.009008/0.5716, allocations: 5.328 MB / 0.6464 GB, free: 13.02 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches