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.0011/0.0011, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 79.86 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1669, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.506/0.673, allocations: 153 MB / 0.6182 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007197/0.6802, allocations: 5.14 MB / 0.6232 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.6804, allocations: 4 kB / 0.6232 GB, free: 5.074 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.6809, allocations: 59.59 kB / 0.6233 GB, free: 5.016 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006014/0.6869, allocations: 1.209 MB / 0.6245 GB, free: 3.809 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.6875, allocations: 138.8 kB / 0.6246 GB, free: 3.676 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008749/0.6884, allocations: 394.1 kB / 0.625 GB, free: 3.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.6884, allocations: 17.69 kB / 0.625 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.689, allocations: 163.4 kB / 0.6251 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.6895, allocations: 171.4 kB / 0.6253 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.6896, allocations: 8 kB / 0.6253 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.6929, allocations: 0.9832 MB / 0.6263 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.6931, allocations: 43.77 kB / 0.6263 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.6934, allocations: 111.5 kB / 0.6264 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.6968, allocations: 0.842 MB / 0.6272 GB, free: 0.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.6968, allocations: 0 / 0.6272 GB, free: 0.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6969, allocations: 0 / 0.6272 GB, free: 0.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.6969, allocations: 4 kB / 0.6272 GB, free: 0.9531 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.002311/0.6992, allocations: 0.685 MB / 0.6279 GB, free: 224 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.6993, allocations: 8.031 kB / 0.6279 GB, free: 216 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/0.7117, allocations: 0.6097 MB / 0.6285 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006666/0.7124, allocations: 267.7 kB / 0.6288 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.7126, allocations: 123.4 kB / 0.6289 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.7128, allocations: 20 kB / 0.6289 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.7147, allocations: 0.5672 MB / 0.6295 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7148, allocations: 0 / 0.6295 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.7149, allocations: 12 kB / 0.6295 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.715, allocations: 7.984 kB / 0.6295 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/0.7173, allocations: 0.6299 MB / 0.6301 GB, free: 13.88 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.003159/0.7205, allocations: 1.722 MB / 0.6318 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.7211, allocations: 154 kB / 0.6319 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.7213, allocations: 76.88 kB / 0.632 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.7224, allocations: 0.6966 MB / 0.6327 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.7224, allocations: 38.56 kB / 0.6327 GB, free: 10.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.7224, allocations: 0 / 0.6327 GB, free: 10.93 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.001621/0.7241, allocations: 321.1 kB / 0.633 GB, free: 10.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.7241, allocations: 55.39 kB / 0.6331 GB, free: 10.55 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.7244, allocations: 195.7 kB / 0.6333 GB, free: 10.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.7245, allocations: 29.7 kB / 0.6333 GB, free: 10.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.7247, allocations: 199.2 kB / 0.6335 GB, free: 10.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/0.7248, allocations: 55.2 kB / 0.6335 GB, free: 10.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.725, allocations: 93.95 kB / 0.6336 GB, free: 9.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.7251, allocations: 326.8 kB / 0.6339 GB, free: 9.629 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.7254, allocations: 68.7 kB / 0.634 GB, free: 9.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.7258, allocations: 264 kB / 0.6342 GB, free: 9.211 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.7265, allocations: 374.1 kB / 0.6346 GB, free: 8.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.7265, allocations: 0 / 0.6346 GB, free: 8.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009995/0.7275, allocations: 369.9 kB / 0.635 GB, free: 8.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.7276, allocations: 10.03 kB / 0.635 GB, free: 8.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.7276, allocations: 4 kB / 0.635 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.321e-05/0.7276, allocations: 19.92 kB / 0.635 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.7283, allocations: 123.8 kB / 0.6351 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005045/0.7288, allocations: 0.6022 MB / 0.6357 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.7292, allocations: 47.53 kB / 0.6357 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.7293, allocations: 36 kB / 0.6358 GB, free: 7.523 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.0002159/0.7295, allocations: 153.6 kB / 0.6359 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.7296, allocations: 19.81 kB / 0.6359 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.731, allocations: 439.1 kB / 0.6364 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.731, allocations: 4 kB / 0.6364 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7311, allocations: 0 / 0.6364 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7311, allocations: 0 / 0.6364 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.7324, allocations: 0.6304 MB / 0.637 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7324, allocations: 0 / 0.637 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.7326, allocations: 59.97 kB / 0.637 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.7326, allocations: 0 / 0.637 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.7327, allocations: 11.98 kB / 0.637 GB, free: 6.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003587/0.733, allocations: 0.6017 MB / 0.6376 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7331, allocations: 0.7812 kB / 0.6376 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.7335, allocations: 293.3 kB / 0.6379 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.7336, allocations: 112.8 kB / 0.638 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.7337, allocations: 4 kB / 0.638 GB, free: 5.031 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.7339, allocations: 15.98 kB / 0.638 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.734, allocations: 15.92 kB / 0.6381 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.734, allocations: 16 kB / 0.6381 GB, free: 4.984 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.7342, allocations: 148.1 kB / 0.6382 GB, free: 4.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7342, allocations: 0 / 0.6382 GB, free: 4.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007131/0.7349, allocations: 163.9 kB / 0.6384 GB, free: 4.68 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.000608/0.7355, allocations: 244.2 kB / 0.6386 GB, free: 4.441 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.7361, allocations: 231.9 kB / 0.6388 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7361, allocations: 0 / 0.6388 GB, free: 4.215 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.7364, allocations: 81.33 kB / 0.6389 GB, free: 4.137 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.7369, allocations: 60.61 kB / 0.639 GB, free: 4.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.7385, allocations: 0.7002 MB / 0.6396 GB, free: 3.328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.7388, allocations: 0.7245 MB / 0.6403 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008517/0.7397, allocations: 388.9 kB / 0.6407 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.7399, allocations: 67.36 kB / 0.6408 GB, free: 2.137 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.7399, allocations: 0 / 0.6408 GB, free: 2.137 MB / 478.1 MB Notification: Performance of Templates: time 0.01047/0.7504, allocations: 5.188 MB / 0.6458 GB, free: 12.98 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