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.001051/0.001051, allocations: 112.6 kB / 17.08 MB, free: 6.016 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.001045/0.001046, allocations: 197.3 kB / 18.01 MB, free: 5.098 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.237/1.237, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1884/0.1884, allocations: 43.53 MB / 314.8 MB, free: 460 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.001345/0.001345, allocations: 63.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3845/0.4906, allocations: 151.4 MB / 0.6364 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007666/0.4983, allocations: 6.976 MB / 0.6432 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.4985, allocations: 0 / 0.6432 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.4987, allocations: 55.66 kB / 0.6433 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.502, allocations: 1.439 MB / 0.6447 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.5023, allocations: 142.6 kB / 0.6448 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.5027, allocations: 402.1 kB / 0.6452 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.5028, allocations: 13.69 kB / 0.6452 GB, free: 10.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.503, allocations: 171.3 kB / 0.6454 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.5033, allocations: 167.4 kB / 0.6455 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.5033, allocations: 8 kB / 0.6455 GB, free: 9.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.5052, allocations: 1.24 MB / 0.6467 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.5053, allocations: 39.88 kB / 0.6468 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.5054, allocations: 111.5 kB / 0.6469 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.5067, allocations: 0.9628 MB / 0.6478 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5067, allocations: 0 / 0.6478 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5068, allocations: 0 / 0.6478 GB, free: 7.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.5068, allocations: 0 / 0.6478 GB, free: 7.453 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.00127/0.508, allocations: 0.714 MB / 0.6485 GB, free: 6.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5081, allocations: 11.89 kB / 0.6485 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007334/0.5154, allocations: 0.5901 MB / 0.6491 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.5159, allocations: 272.2 kB / 0.6494 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.516, allocations: 123.3 kB / 0.6495 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.5161, allocations: 24 kB / 0.6495 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.5172, allocations: 0.5595 MB / 0.65 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5172, allocations: 0 / 0.65 GB, free: 5.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/0.5173, allocations: 12 kB / 0.6501 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5173, allocations: 4 kB / 0.6501 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5186, allocations: 0.6338 MB / 0.6507 GB, free: 4.371 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.001982/0.5206, allocations: 1.645 MB / 0.6523 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.5209, allocations: 154.5 kB / 0.6524 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.5211, allocations: 88.8 kB / 0.6525 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/0.5223, allocations: 1.307 MB / 0.6538 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.5224, allocations: 30.56 kB / 0.6538 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.5224, allocations: 0 / 0.6538 GB, free: 0.8008 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.0009382/0.5233, allocations: 327.9 kB / 0.6541 GB, free: 488 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5234, allocations: 67.27 kB / 0.6542 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.5235, allocations: 187.3 kB / 0.6544 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.5236, allocations: 29.7 kB / 0.6544 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5237, allocations: 187.6 kB / 0.6546 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.5237, allocations: 67.09 kB / 0.6547 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.5239, allocations: 97.86 kB / 0.6547 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.524, allocations: 326.8 kB / 0.6551 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5241, allocations: 60.7 kB / 0.6551 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.5244, allocations: 267.8 kB / 0.6554 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004078/0.5248, allocations: 362.2 kB / 0.6557 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5248, allocations: 4 kB / 0.6557 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005653/0.5254, allocations: 372.9 kB / 0.6561 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5254, allocations: 8 kB / 0.6561 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5254, allocations: 11.98 kB / 0.6561 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.5254, allocations: 8 kB / 0.6561 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.5258, allocations: 132.3 kB / 0.6562 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003266/0.5262, allocations: 0.6016 MB / 0.6568 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.5264, allocations: 47.53 kB / 0.6569 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.5265, allocations: 43.98 kB / 0.6569 GB, free: 13.37 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.0001254/0.5266, allocations: 149.5 kB / 0.657 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.5267, allocations: 23.75 kB / 0.6571 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.5272, allocations: 286.6 kB / 0.6573 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5273, allocations: 0 / 0.6573 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5273, allocations: 3.984 kB / 0.6573 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.5273, allocations: 4 kB / 0.6574 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.5279, allocations: 0.5177 MB / 0.6579 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5279, allocations: 7.938 kB / 0.6579 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.5281, allocations: 59.83 kB / 0.6579 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5282, allocations: 4 kB / 0.6579 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.5282, allocations: 13.5 kB / 0.6579 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002756/0.5285, allocations: 0.5899 MB / 0.6585 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5285, allocations: 3.984 kB / 0.6585 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.5288, allocations: 270.7 kB / 0.6588 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.5289, allocations: 112.8 kB / 0.6589 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.5289, allocations: 3.938 kB / 0.6589 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5292, allocations: 15.98 kB / 0.6589 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.5292, allocations: 11.98 kB / 0.6589 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5292, allocations: 19.98 kB / 0.6589 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001204/0.5294, allocations: 140.2 kB / 0.6591 GB, free: 11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5294, allocations: 0 / 0.6591 GB, free: 11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006186/0.53, allocations: 188 kB / 0.6592 GB, free: 10.82 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.000632/0.5306, allocations: 323.5 kB / 0.6596 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.5311, allocations: 223.6 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5311, allocations: 1.812 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.5313, allocations: 83.83 kB / 0.6598 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005011/0.5318, allocations: 75.12 kB / 0.6599 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.5346, allocations: 1.964 MB / 0.6618 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5349, allocations: 0.7285 MB / 0.6626 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.5351, allocations: 59.41 kB / 0.6626 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.5351, allocations: 0 / 0.6626 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of Templates: time 0.007727/0.5428, allocations: 5.804 MB / 0.6683 GB, free: 1.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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