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/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 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 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008175, allocations: 92.52 kB / 17 MB, free: 6.418 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.001608/0.001608, allocations: 188.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.25 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 12 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4739/0.6116, allocations: 136.2 MB / 0.5935 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005879/0.6175, allocations: 4.768 MB / 0.5982 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.6178, allocations: 0 / 0.5982 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.6181, allocations: 39.72 kB / 0.5982 GB, free: 6.219 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003183/0.6213, allocations: 0.9458 MB / 0.5991 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.6217, allocations: 138.7 kB / 0.5992 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.6223, allocations: 408.3 kB / 0.5996 GB, free: 4.742 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.6224, allocations: 13.69 kB / 0.5996 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.6228, allocations: 171.3 kB / 0.5998 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.6232, allocations: 171.5 kB / 0.6 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.6232, allocations: 8 kB / 0.6 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.6254, allocations: 0.866 MB / 0.6008 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.002e-05/0.6255, allocations: 47.8 kB / 0.6009 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.6256, allocations: 69.58 kB / 0.6009 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.6267, allocations: 0.5672 MB / 0.6015 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6267, allocations: 0 / 0.6015 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6268, allocations: 0 / 0.6015 GB, free: 2.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.6268, allocations: 0 / 0.6015 GB, free: 2.832 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.001396/0.6282, allocations: 0.6246 MB / 0.6021 GB, free: 2.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6282, allocations: 8.031 kB / 0.6021 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.6346, allocations: 0.5927 MB / 0.6027 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.6352, allocations: 254.7 kB / 0.6029 GB, free: 1.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.6353, allocations: 123.4 kB / 0.6031 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.6354, allocations: 20 kB / 0.6031 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.6366, allocations: 0.5634 MB / 0.6036 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6366, allocations: 3.938 kB / 0.6036 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/0.6367, allocations: 8 kB / 0.6036 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.6368, allocations: 8 kB / 0.6036 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6382, allocations: 0.626 MB / 0.6043 GB, free: 15.86 MB / 446.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.002223/0.6404, allocations: 1.716 MB / 0.6059 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.6408, allocations: 162.3 kB / 0.6061 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.6409, allocations: 76.86 kB / 0.6062 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007462/0.6417, allocations: 0.7004 MB / 0.6068 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6417, allocations: 42.55 kB / 0.6069 GB, free: 12.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.796e-06/0.6417, allocations: 3.938 kB / 0.6069 GB, free: 12.89 MB / 446.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.001044/0.6428, allocations: 317.4 kB / 0.6072 GB, free: 12.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.6428, allocations: 55.41 kB / 0.6072 GB, free: 12.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.6431, allocations: 195 kB / 0.6074 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.6431, allocations: 29.7 kB / 0.6075 GB, free: 12.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.6432, allocations: 187.1 kB / 0.6076 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.6433, allocations: 67.09 kB / 0.6077 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.6433, allocations: 8 kB / 0.6077 GB, free: 12.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.6435, allocations: 326.8 kB / 0.608 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.6436, allocations: 64.7 kB / 0.6081 GB, free: 11.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.6439, allocations: 260.5 kB / 0.6083 GB, free: 11.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.6441, allocations: 100.8 kB / 0.6084 GB, free: 11.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6441, allocations: 0 / 0.6084 GB, free: 11.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006414/0.6448, allocations: 376.4 kB / 0.6088 GB, free: 10.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6448, allocations: 8 kB / 0.6088 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.6448, allocations: 4 kB / 0.6088 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.6449, allocations: 15.98 kB / 0.6088 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.6453, allocations: 130.4 kB / 0.6089 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004285/0.6457, allocations: 0.6056 MB / 0.6095 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.646, allocations: 43.59 kB / 0.6096 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.6461, allocations: 44 kB / 0.6096 GB, free: 9.941 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.6463, allocations: 151.7 kB / 0.6098 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.6463, allocations: 15.81 kB / 0.6098 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/0.6473, allocations: 440.8 kB / 0.6102 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6473, allocations: 0 / 0.6102 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6473, allocations: 0 / 0.6102 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6473, allocations: 0 / 0.6102 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008745/0.6482, allocations: 0.6273 MB / 0.6108 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6482, allocations: 0 / 0.6108 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.6484, allocations: 59.53 kB / 0.6109 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6485, allocations: 4 kB / 0.6109 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.6485, allocations: 19.92 kB / 0.6109 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003233/0.6488, allocations: 0.5938 MB / 0.6115 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6488, allocations: 224 / 0.6115 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.6492, allocations: 301.2 kB / 0.6117 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.6493, allocations: 116.8 kB / 0.6119 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.6494, allocations: 4 kB / 0.6119 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.6496, allocations: 15.98 kB / 0.6119 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.6497, allocations: 11.98 kB / 0.6119 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.6497, allocations: 23.98 kB / 0.6119 GB, free: 7.387 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.6498, allocations: 135 kB / 0.612 GB, free: 7.254 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6498, allocations: 4 kB / 0.612 GB, free: 7.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006155/0.6504, allocations: 148 kB / 0.6122 GB, free: 7.105 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006219/0.6511, allocations: 256.5 kB / 0.6124 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004823/0.6516, allocations: 216.4 kB / 0.6126 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6516, allocations: 4 kB / 0.6126 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.6518, allocations: 81.27 kB / 0.6127 GB, free: 6.562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.6523, allocations: 59.91 kB / 0.6128 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.6537, allocations: 0.7847 MB / 0.6135 GB, free: 5.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6541, allocations: 0.725 MB / 0.6142 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008909/0.655, allocations: 381.9 kB / 0.6146 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.6552, allocations: 67.38 kB / 0.6147 GB, free: 4.488 MB / 446.1 MB Notification: Performance of SimCode: time 2.605e-06/0.6552, allocations: 0 / 0.6147 GB, free: 4.488 MB / 446.1 MB Notification: Performance of Templates: time 0.009737/0.665, allocations: 4.817 MB / 0.6194 GB, free: 15.7 MB / 462.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches