Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 100.8 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 192.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2411/0.2411, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 69.44 kB / 441.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 57.78 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5125/0.6763, allocations: 151.4 MB / 0.6357 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.6851, allocations: 6.984 MB / 0.6426 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.6853, allocations: 0 / 0.6426 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.6857, allocations: 55.59 kB / 0.6426 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004919/0.6907, allocations: 1.435 MB / 0.644 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.6911, allocations: 143.7 kB / 0.6441 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.6918, allocations: 394.1 kB / 0.6445 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.257e-05/0.6919, allocations: 17.67 kB / 0.6445 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.6922, allocations: 171.3 kB / 0.6447 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.6925, allocations: 163.5 kB / 0.6449 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.6926, allocations: 8 kB / 0.6449 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.6953, allocations: 1.233 MB / 0.6461 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.6955, allocations: 51.75 kB / 0.6461 GB, free: 8.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.6957, allocations: 103.6 kB / 0.6462 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.6981, allocations: 0.9745 MB / 0.6472 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6982, allocations: 0 / 0.6472 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6982, allocations: 0 / 0.6472 GB, free: 7.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.6982, allocations: 3.938 kB / 0.6472 GB, free: 7.441 MB / 494.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.001432/0.6996, allocations: 0.7202 MB / 0.6479 GB, free: 6.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6997, allocations: 11.89 kB / 0.6479 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006976/0.7067, allocations: 0.5941 MB / 0.6485 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.7073, allocations: 264.2 kB / 0.6487 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.7074, allocations: 131.3 kB / 0.6488 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.7075, allocations: 24 kB / 0.6489 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.7087, allocations: 0.5556 MB / 0.6494 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.7087, allocations: 11.92 kB / 0.6494 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.7088, allocations: 4 kB / 0.6494 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.7088, allocations: 11.94 kB / 0.6494 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.7103, allocations: 0.626 MB / 0.65 GB, free: 4.348 MB / 494.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.002045/0.7123, allocations: 1.646 MB / 0.6517 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.7127, allocations: 162.4 kB / 0.6518 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7128, allocations: 76.86 kB / 0.6519 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.7141, allocations: 1.311 MB / 0.6532 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.7142, allocations: 38.56 kB / 0.6532 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.704e-06/0.7142, allocations: 0 / 0.6532 GB, free: 0.7695 MB / 494.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=18): time 0.001039/0.7152, allocations: 332.1 kB / 0.6535 GB, free: 452 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7153, allocations: 55.34 kB / 0.6536 GB, free: 384 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.7154, allocations: 187.4 kB / 0.6537 GB, free: 184 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.7155, allocations: 29.7 kB / 0.6538 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.7156, allocations: 199.7 kB / 0.654 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.7157, allocations: 67.42 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7158, allocations: 94.02 kB / 0.6541 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7159, allocations: 326.8 kB / 0.6544 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.7161, allocations: 64.72 kB / 0.6545 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.7164, allocations: 271.7 kB / 0.6548 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.7168, allocations: 366.2 kB / 0.6551 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7168, allocations: 4 kB / 0.6551 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006029/0.7174, allocations: 370.7 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.7175, allocations: 8 kB / 0.6555 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.7175, allocations: 8 kB / 0.6555 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.7175, allocations: 8 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.7179, allocations: 127.8 kB / 0.6556 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003584/0.7183, allocations: 0.602 MB / 0.6562 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.7185, allocations: 51.25 kB / 0.6562 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.7186, allocations: 39.98 kB / 0.6563 GB, free: 13.35 MB / 0.4981 GB 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.000135/0.7187, allocations: 153.5 kB / 0.6564 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.7188, allocations: 19.84 kB / 0.6564 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.7195, allocations: 293.9 kB / 0.6567 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7195, allocations: 4 kB / 0.6567 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.7195, allocations: 0 / 0.6567 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.7195, allocations: 3.938 kB / 0.6567 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.7202, allocations: 0.5178 MB / 0.6572 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7202, allocations: 0 / 0.6572 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.7204, allocations: 59.91 kB / 0.6573 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.7205, allocations: 4 kB / 0.6573 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.7205, allocations: 5.125 kB / 0.6573 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.7208, allocations: 0.5978 MB / 0.6579 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7208, allocations: 7.938 kB / 0.6579 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.7212, allocations: 275.5 kB / 0.6582 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.7213, allocations: 105 kB / 0.6583 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.7213, allocations: 15.86 kB / 0.6583 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.7216, allocations: 12 kB / 0.6583 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.7216, allocations: 11.92 kB / 0.6583 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.7217, allocations: 27.86 kB / 0.6583 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001103/0.7218, allocations: 132.2 kB / 0.6584 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7218, allocations: 4 kB / 0.6585 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006653/0.7224, allocations: 191.7 kB / 0.6586 GB, free: 10.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0007097/0.7232, allocations: 315.1 kB / 0.6589 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.7237, allocations: 232.1 kB / 0.6592 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7237, allocations: 0 / 0.6592 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.7239, allocations: 79.89 kB / 0.6592 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005153/0.7245, allocations: 70.11 kB / 0.6593 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.7275, allocations: 1.957 MB / 0.6612 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.7278, allocations: 0.7245 MB / 0.6619 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.7282, allocations: 103.8 kB / 0.662 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.7283, allocations: 43.42 kB / 0.6621 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.7283, allocations: 0 / 0.6621 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of Templates: time 0.01049/0.7388, allocations: 6.159 MB / 0.6681 GB, free: 1.066 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches