Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009708/0.0009709, allocations: 104.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3589/0.3589, allocations: 44.12 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001027, allocations: 47.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.399, allocations: 60.8 MB / 0.5064 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1666/0.5657, allocations: 147.9 MB / 0.6508 GB, free: 11.77 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0072/0.5729, allocations: 5.244 MB / 0.6559 GB, free: 6.508 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.5731, allocations: 4 kB / 0.6559 GB, free: 6.504 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.5734, allocations: 47.72 kB / 0.656 GB, free: 6.457 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.5777, allocations: 1.043 MB / 0.657 GB, free: 5.414 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.5782, allocations: 143.4 kB / 0.6571 GB, free: 5.281 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.5791, allocations: 462.1 kB / 0.6576 GB, free: 4.828 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.059e-05/0.5791, allocations: 13.69 kB / 0.6576 GB, free: 4.816 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.5795, allocations: 175.3 kB / 0.6578 GB, free: 4.645 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.5799, allocations: 171.5 kB / 0.6579 GB, free: 4.477 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.58, allocations: 8 kB / 0.6579 GB, free: 4.469 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/0.5832, allocations: 0.9869 MB / 0.6589 GB, free: 3.48 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.5833, allocations: 47.75 kB / 0.6589 GB, free: 3.434 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.5835, allocations: 115.4 kB / 0.659 GB, free: 3.32 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.5859, allocations: 0.8459 MB / 0.6599 GB, free: 2.473 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5859, allocations: 0 / 0.6599 GB, free: 2.473 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5859, allocations: 0 / 0.6599 GB, free: 2.473 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.5859, allocations: 4 kB / 0.6599 GB, free: 2.469 MB / 474.7 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.001791/0.5877, allocations: 0.6828 MB / 0.6605 GB, free: 1.738 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5878, allocations: 15.97 kB / 0.6606 GB, free: 1.723 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0117/0.5995, allocations: 0.5858 MB / 0.6611 GB, free: 1.137 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.6003, allocations: 267.3 kB / 0.6614 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.6005, allocations: 123.4 kB / 0.6615 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.6007, allocations: 20 kB / 0.6615 GB, free: 0.668 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.6025, allocations: 0.5673 MB / 0.6621 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6025, allocations: 4 kB / 0.6621 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.6026, allocations: 15.94 kB / 0.6621 GB, free: 48 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.6026, allocations: 11.94 kB / 0.6621 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.6051, allocations: 0.6261 MB / 0.6627 GB, free: 15.41 MB / 490.7 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.002968/0.6081, allocations: 1.711 MB / 0.6644 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.6086, allocations: 154.5 kB / 0.6645 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.6088, allocations: 80.77 kB / 0.6646 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/0.6098, allocations: 0.7007 MB / 0.6653 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.6098, allocations: 34.56 kB / 0.6653 GB, free: 12.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 2.354e-06/0.6098, allocations: 0 / 0.6653 GB, free: 12.47 MB / 490.7 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.001478/0.6113, allocations: 314.8 kB / 0.6656 GB, free: 12.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.6114, allocations: 59.34 kB / 0.6657 GB, free: 12.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.6117, allocations: 202.7 kB / 0.6659 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.6117, allocations: 33.64 kB / 0.6659 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.6119, allocations: 187.2 kB / 0.6661 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.6119, allocations: 63.09 kB / 0.6662 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.6122, allocations: 97.95 kB / 0.6662 GB, free: 11.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6123, allocations: 330.8 kB / 0.6666 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.6125, allocations: 64.7 kB / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/0.6129, allocations: 260 kB / 0.6669 GB, free: 10.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.6136, allocations: 359.9 kB / 0.6672 GB, free: 10.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6136, allocations: 4 kB / 0.6672 GB, free: 10.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009602/0.6146, allocations: 377.4 kB / 0.6676 GB, free: 9.926 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.6146, allocations: 8 kB / 0.6676 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.6147, allocations: 11.94 kB / 0.6676 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.6147, allocations: 8 kB / 0.6676 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.6153, allocations: 127.8 kB / 0.6677 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004652/0.6158, allocations: 0.5977 MB / 0.6683 GB, free: 9.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.6162, allocations: 51.78 kB / 0.6684 GB, free: 9.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6164, allocations: 47.98 kB / 0.6684 GB, free: 9.055 MB / 490.7 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.000196/0.6166, allocations: 146.1 kB / 0.6685 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.6167, allocations: 19.81 kB / 0.6686 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.618, allocations: 435.2 kB / 0.669 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.618, allocations: 0 / 0.669 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6181, allocations: 0 / 0.669 GB, free: 8.445 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6181, allocations: 7.984 kB / 0.669 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.6193, allocations: 0.6267 MB / 0.6696 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6193, allocations: 0 / 0.6696 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.6196, allocations: 59.91 kB / 0.6697 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.6196, allocations: 4 kB / 0.6697 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.6197, allocations: 7.938 kB / 0.6697 GB, free: 7.645 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003857/0.6201, allocations: 0.6015 MB / 0.6703 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.6201, allocations: 4.031 kB / 0.6703 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.6211, allocations: 0.8977 MB / 0.6711 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.6213, allocations: 108.8 kB / 0.6712 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.6214, allocations: 11.89 kB / 0.6712 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.6218, allocations: 11.98 kB / 0.6713 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.6218, allocations: 23.8 kB / 0.6713 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.6219, allocations: 27.98 kB / 0.6713 GB, free: 5.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.6221, allocations: 136.2 kB / 0.6714 GB, free: 5.707 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6221, allocations: 4 kB / 0.6714 GB, free: 5.703 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001207/0.6233, allocations: 147.9 kB / 0.6716 GB, free: 5.559 MB / 490.7 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.0007189/0.6241, allocations: 245.8 kB / 0.6718 GB, free: 5.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007305/0.6248, allocations: 227.7 kB / 0.672 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.6248, allocations: 1.75 kB / 0.672 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.6251, allocations: 79.83 kB / 0.6721 GB, free: 5.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.626, allocations: 64.38 kB / 0.6722 GB, free: 4.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.6281, allocations: 0.8961 MB / 0.6731 GB, free: 4.008 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.6285, allocations: 0.7287 MB / 0.6738 GB, free: 3.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001422/0.6299, allocations: 385 kB / 0.6741 GB, free: 2.871 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/0.6303, allocations: 71.36 kB / 0.6742 GB, free: 2.801 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6303, allocations: 0 / 0.6742 GB, free: 2.801 MB / 490.7 MB Notification: Performance of Templates: time 0.281/0.9113, allocations: 5.107 MB / 0.6792 GB, free: 144.5 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches