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.001572/0.001572, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.001709/0.001709, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.5/1.5, allocations: 205.1 MB / 223.8 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.2185/0.2185, allocations: 43.52 MB / 314.7 MB, free: 484 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.001525/0.001525, allocations: 65.47 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09644, allocations: 57.79 MB / 441.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4196/0.5161, allocations: 151.4 MB / 0.5794 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007298/0.5234, allocations: 6.972 MB / 0.5862 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.5236, allocations: 6.531 kB / 0.5862 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.524, allocations: 60.14 kB / 0.5863 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003944/0.528, allocations: 1.427 MB / 0.5877 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.5283, allocations: 153.7 kB / 0.5878 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000524/0.5288, allocations: 390.8 kB / 0.5882 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.5289, allocations: 12.56 kB / 0.5882 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.5291, allocations: 168 kB / 0.5884 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.5294, allocations: 170.5 kB / 0.5885 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.5295, allocations: 6.812 kB / 0.5885 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.5318, allocations: 1.233 MB / 0.5897 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.5319, allocations: 46.08 kB / 0.5898 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.5321, allocations: 111.2 kB / 0.5899 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.5336, allocations: 0.9569 MB / 0.5908 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5336, allocations: 3.75 kB / 0.5908 GB, free: 11.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5336, allocations: 0 / 0.5908 GB, free: 11.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.5336, allocations: 4 kB / 0.5908 GB, free: 11.05 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.001368/0.535, allocations: 0.7148 MB / 0.5915 GB, free: 10.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.535, allocations: 12.11 kB / 0.5915 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/0.5423, allocations: 0.5914 MB / 0.5921 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.5428, allocations: 268.2 kB / 0.5924 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.5429, allocations: 124.4 kB / 0.5925 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.543, allocations: 21.94 kB / 0.5925 GB, free: 9.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.5441, allocations: 0.5568 MB / 0.593 GB, free: 9.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.5441, allocations: 10.06 kB / 0.5931 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.5442, allocations: 9.5 kB / 0.5931 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.5442, allocations: 7.469 kB / 0.5931 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.5456, allocations: 0.6283 MB / 0.5937 GB, free: 9.43 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.002111/0.5477, allocations: 1.647 MB / 0.5953 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.5481, allocations: 167.4 kB / 0.5955 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.5482, allocations: 76.02 kB / 0.5955 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/0.5496, allocations: 1.305 MB / 0.5968 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.5497, allocations: 45.08 kB / 0.5968 GB, free: 6.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.5497, allocations: 0 / 0.5968 GB, free: 6.684 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.5507, allocations: 331 kB / 0.5972 GB, free: 6.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.5508, allocations: 58.34 kB / 0.5972 GB, free: 6.523 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.551, allocations: 182.3 kB / 0.5974 GB, free: 6.395 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.551, allocations: 31.58 kB / 0.5974 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5512, allocations: 191.2 kB / 0.5976 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.5512, allocations: 59.11 kB / 0.5977 GB, free: 6.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.5514, allocations: 94.39 kB / 0.5977 GB, free: 6.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5515, allocations: 326.3 kB / 0.5981 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.5516, allocations: 72.83 kB / 0.5981 GB, free: 5.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.5519, allocations: 270.2 kB / 0.5984 GB, free: 5.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.5523, allocations: 366.1 kB / 0.5987 GB, free: 5.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5523, allocations: 2.781 kB / 0.5987 GB, free: 5.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005478/0.5529, allocations: 369.7 kB / 0.5991 GB, free: 5.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5529, allocations: 10.78 kB / 0.5991 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5529, allocations: 7.781 kB / 0.5991 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.553, allocations: 10.56 kB / 0.5991 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.5534, allocations: 126.5 kB / 0.5992 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003358/0.5537, allocations: 0.6005 MB / 0.5998 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.5539, allocations: 41.56 kB / 0.5999 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.554, allocations: 42.55 kB / 0.5999 GB, free: 4.441 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.0001342/0.5542, allocations: 155.6 kB / 0.6001 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.5542, allocations: 21.94 kB / 0.6001 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.5548, allocations: 295.3 kB / 0.6004 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5548, allocations: 2.625 kB / 0.6004 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5549, allocations: 0 / 0.6004 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5549, allocations: 0 / 0.6004 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.5555, allocations: 0.5203 MB / 0.6009 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.5556, allocations: 1.781 kB / 0.6009 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.5558, allocations: 60.17 kB / 0.6009 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5558, allocations: 2.5 kB / 0.6009 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.5558, allocations: 8.562 kB / 0.6009 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003283/0.5562, allocations: 0.5916 MB / 0.6015 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5562, allocations: 6.281 kB / 0.6015 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.5565, allocations: 265.3 kB / 0.6018 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5566, allocations: 108.6 kB / 0.6019 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.5567, allocations: 10.59 kB / 0.6019 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.5569, allocations: 19.92 kB / 0.6019 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.557, allocations: 23.05 kB / 0.6019 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.557, allocations: 16.52 kB / 0.6019 GB, free: 2.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.5571, allocations: 134.5 kB / 0.6021 GB, free: 2.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.5571, allocations: 2.75 kB / 0.6021 GB, free: 2.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006591/0.5578, allocations: 190.7 kB / 0.6023 GB, free: 2.699 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.0006699/0.5585, allocations: 327 kB / 0.6026 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.5589, allocations: 221.5 kB / 0.6028 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.559, allocations: 4.062 kB / 0.6028 GB, free: 2.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.5592, allocations: 81.58 kB / 0.6029 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.5597, allocations: 67.39 kB / 0.6029 GB, free: 2.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.5627, allocations: 1.941 MB / 0.6048 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.563, allocations: 0.7276 MB / 0.6055 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.5634, allocations: 108.1 kB / 0.6056 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5635, allocations: 50.77 kB / 0.6057 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5635, allocations: 0 / 0.6057 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of Templates: time 0.01032/0.5738, allocations: 6.135 MB / 0.6117 GB, free: 13.83 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 -s gbode -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