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.0014/0.0014, allocations: 104.1 kB / 16.27 MB, free: 5.988 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.001202/0.001202, allocations: 184.7 kB / 17.19 MB, free: 5.609 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.624/1.624, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2362/0.2362, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.001676/0.001677, allocations: 68.45 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1361, allocations: 57.78 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4889/0.6251, allocations: 151.3 MB / 0.578 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007744/0.6329, allocations: 6.978 MB / 0.5848 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.6331, allocations: 2 kB / 0.5848 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.6334, allocations: 58.36 kB / 0.5849 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004302/0.6378, allocations: 1.428 MB / 0.5863 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.6382, allocations: 147.1 kB / 0.5864 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005261/0.6387, allocations: 390.3 kB / 0.5868 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.6388, allocations: 19.98 kB / 0.5868 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.639, allocations: 161.4 kB / 0.5869 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.6393, allocations: 174.7 kB / 0.5871 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.6394, allocations: 7.531 kB / 0.5871 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.6417, allocations: 1.147 MB / 0.5882 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.6418, allocations: 47.39 kB / 0.5883 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.642, allocations: 107.1 kB / 0.5884 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.644, allocations: 0.9609 MB / 0.5893 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.644, allocations: 0 / 0.5893 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.644, allocations: 1.781 kB / 0.5893 GB, free: 10.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.6441, allocations: 0 / 0.5893 GB, free: 10.39 MB / 430.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.001458/0.6455, allocations: 0.7156 MB / 0.59 GB, free: 9.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.6456, allocations: 13.95 kB / 0.59 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007608/0.6532, allocations: 0.595 MB / 0.5906 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.6537, allocations: 262.7 kB / 0.5909 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.6539, allocations: 124.4 kB / 0.591 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.654, allocations: 22.75 kB / 0.591 GB, free: 9.223 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.6551, allocations: 0.5622 MB / 0.5916 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6551, allocations: 3.938 kB / 0.5916 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.432e-05/0.6552, allocations: 11.47 kB / 0.5916 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.6553, allocations: 9.406 kB / 0.5916 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.6566, allocations: 0.6283 MB / 0.5922 GB, free: 8.766 MB / 430.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.002114/0.6588, allocations: 1.644 MB / 0.5938 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.6591, allocations: 164.4 kB / 0.594 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.6592, allocations: 78.39 kB / 0.594 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.6606, allocations: 1.312 MB / 0.5953 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.6606, allocations: 37 kB / 0.5953 GB, free: 6.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.6606, allocations: 0 / 0.5953 GB, free: 6.023 MB / 430.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.001041/0.6617, allocations: 329.3 kB / 0.5957 GB, free: 5.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.6617, allocations: 65.36 kB / 0.5957 GB, free: 5.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.6619, allocations: 184.8 kB / 0.5959 GB, free: 5.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.662, allocations: 32.11 kB / 0.5959 GB, free: 5.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6621, allocations: 187.1 kB / 0.5961 GB, free: 5.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.6621, allocations: 62.31 kB / 0.5962 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.6622, allocations: 94.73 kB / 0.5963 GB, free: 5.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6624, allocations: 328 kB / 0.5966 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.6625, allocations: 69.33 kB / 0.5966 GB, free: 5.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.6628, allocations: 263.6 kB / 0.5969 GB, free: 4.852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.6632, allocations: 369.5 kB / 0.5972 GB, free: 4.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6633, allocations: 0 / 0.5972 GB, free: 4.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000557/0.6638, allocations: 376.1 kB / 0.5976 GB, free: 4.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.6638, allocations: 10.12 kB / 0.5976 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6639, allocations: 8.891 kB / 0.5976 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.6639, allocations: 10.44 kB / 0.5976 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.6643, allocations: 127.8 kB / 0.5977 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003948/0.6647, allocations: 0.5981 MB / 0.5983 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.6649, allocations: 41.19 kB / 0.5984 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.665, allocations: 49.61 kB / 0.5984 GB, free: 3.773 MB / 430.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.0001426/0.6651, allocations: 149.2 kB / 0.5986 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.6652, allocations: 21.34 kB / 0.5986 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007073/0.6659, allocations: 294.2 kB / 0.5989 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6659, allocations: 0 / 0.5989 GB, free: 3.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.666, allocations: 6.391 kB / 0.5989 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.666, allocations: 0 / 0.5989 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.6666, allocations: 0.5182 MB / 0.5994 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6667, allocations: 0 / 0.5994 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.6669, allocations: 58.77 kB / 0.5994 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6669, allocations: 2.438 kB / 0.5994 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.6669, allocations: 8.375 kB / 0.5994 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003294/0.6672, allocations: 0.5933 MB / 0.6 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.6673, allocations: 7.922 kB / 0.6 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.6676, allocations: 266.4 kB / 0.6003 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6677, allocations: 120.9 kB / 0.6004 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.6678, allocations: 6.75 kB / 0.6004 GB, free: 2.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.668, allocations: 12.58 kB / 0.6004 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.6681, allocations: 11.48 kB / 0.6004 GB, free: 2.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.6681, allocations: 20.39 kB / 0.6004 GB, free: 2.156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.6682, allocations: 141.2 kB / 0.6006 GB, free: 2.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.482e-06/0.6682, allocations: 0 / 0.6006 GB, free: 2.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007358/0.669, allocations: 193.3 kB / 0.6008 GB, free: 2.035 MB / 430.1 MB 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.0009391/0.6699, allocations: 314.2 kB / 0.6011 GB, free: 1.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.6705, allocations: 239.4 kB / 0.6013 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6705, allocations: 2.531 kB / 0.6013 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.6707, allocations: 77.17 kB / 0.6014 GB, free: 1.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.6712, allocations: 78.66 kB / 0.6014 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.6743, allocations: 1.932 MB / 0.6033 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.6746, allocations: 0.7275 MB / 0.604 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005565/0.6752, allocations: 103.5 kB / 0.6041 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.6754, allocations: 51.25 kB / 0.6042 GB, free: 252 kB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6754, allocations: 0 / 0.6042 GB, free: 252 kB / 430.1 MB Notification: Performance of Templates: time 0.01218/0.6875, allocations: 6.125 MB / 0.6102 GB, free: 13.17 MB / 446.1 MB 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