Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001206/0.001205, allocations: 191 kB / 19.34 MB, free: 3.637 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.392/1.392, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2151/0.2151, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 68.02 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3688/0.4792, allocations: 136.1 MB / 0.5926 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.4849, allocations: 4.707 MB / 0.5972 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.485, allocations: 7.938 kB / 0.5972 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.4854, allocations: 63.58 kB / 0.5973 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.487, allocations: 0.7267 MB / 0.598 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.4874, allocations: 155.6 kB / 0.5981 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004868/0.4879, allocations: 377.5 kB / 0.5985 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.4879, allocations: 13.67 kB / 0.5985 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.4881, allocations: 155.4 kB / 0.5987 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.4884, allocations: 195.4 kB / 0.5989 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.4885, allocations: 12 kB / 0.5989 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.4897, allocations: 0.6824 MB / 0.5995 GB, free: 1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.085e-05/0.4898, allocations: 47.77 kB / 0.5996 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.49, allocations: 107.5 kB / 0.5997 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007466/0.4907, allocations: 464.5 kB / 0.6001 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4907, allocations: 0 / 0.6001 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4907, allocations: 0 / 0.6001 GB, free: 408 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4908, allocations: 0 / 0.6001 GB, free: 408 kB / 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.001085/0.4918, allocations: 0.5936 MB / 0.6007 GB, free: 15.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4919, allocations: 8.031 kB / 0.6007 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.4921, allocations: 24.75 kB / 0.6007 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4924, allocations: 232 kB / 0.601 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.4926, allocations: 123.9 kB / 0.6011 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.4926, allocations: 24.55 kB / 0.6011 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.4931, allocations: 330.7 kB / 0.6014 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4932, allocations: 0 / 0.6014 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.4932, allocations: 15.98 kB / 0.6014 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.4932, allocations: 4 kB / 0.6014 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.494, allocations: 0.7352 MB / 0.6021 GB, free: 14.19 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.0013/0.4953, allocations: 1.226 MB / 0.6033 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4957, allocations: 171.8 kB / 0.6035 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4959, allocations: 89.47 kB / 0.6036 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002382/0.4982, allocations: 2.696 MB / 0.6062 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.009e-05/0.4983, allocations: 42.56 kB / 0.6063 GB, free: 9.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.4983, allocations: 0 / 0.6063 GB, free: 9.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006117/0.4989, allocations: 217.7 kB / 0.6065 GB, free: 9.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.499, allocations: 63.34 kB / 0.6065 GB, free: 9.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.4992, allocations: 211 kB / 0.6067 GB, free: 8.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.4992, allocations: 29.7 kB / 0.6068 GB, free: 8.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4993, allocations: 218.7 kB / 0.607 GB, free: 8.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.4994, allocations: 51.34 kB / 0.607 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.4995, allocations: 82.03 kB / 0.6071 GB, free: 8.422 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4996, allocations: 326.8 kB / 0.6074 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.4997, allocations: 48.84 kB / 0.6075 GB, free: 8.047 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.5, allocations: 343.9 kB / 0.6078 GB, free: 7.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.5004, allocations: 423.6 kB / 0.6082 GB, free: 7.023 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.5005, allocations: 5.812 kB / 0.6082 GB, free: 7.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005341/0.501, allocations: 384.8 kB / 0.6086 GB, free: 6.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.501, allocations: 9 kB / 0.6086 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.501, allocations: 12 kB / 0.6086 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5011, allocations: 16 kB / 0.6086 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.5014, allocations: 115.6 kB / 0.6087 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.5014, allocations: 23.92 kB / 0.6087 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.5017, allocations: 16 kB / 0.6087 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.5017, allocations: 28 kB / 0.6088 GB, free: 6.422 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.5018, allocations: 149.6 kB / 0.6089 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.5019, allocations: 19.72 kB / 0.6089 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.5022, allocations: 143.9 kB / 0.6091 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5022, allocations: 7.938 kB / 0.6091 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5022, allocations: 0 / 0.6091 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5022, allocations: 0 / 0.6091 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.5028, allocations: 452 kB / 0.6095 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5028, allocations: 0 / 0.6095 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.503, allocations: 28.67 kB / 0.6095 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.503, allocations: 0 / 0.6095 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.503, allocations: 0 / 0.6095 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.503, allocations: 7.938 kB / 0.6095 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.503, allocations: 3.938 kB / 0.6095 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.5032, allocations: 228.8 kB / 0.6098 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5034, allocations: 112.8 kB / 0.6099 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.5034, allocations: 3.938 kB / 0.6099 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.5036, allocations: 4 kB / 0.6099 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.5037, allocations: 11.98 kB / 0.6099 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.5037, allocations: 11.98 kB / 0.6099 GB, free: 5.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.5038, allocations: 144.5 kB / 0.61 GB, free: 5.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5038, allocations: 4 kB / 0.61 GB, free: 5.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.5043, allocations: 95.98 kB / 0.6101 GB, free: 4.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/0.5046, allocations: 159.1 kB / 0.6103 GB, free: 4.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.505, allocations: 177.8 kB / 0.6105 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.505, allocations: 0 / 0.6105 GB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.505, allocations: 35.92 kB / 0.6105 GB, free: 4.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.5055, allocations: 48.56 kB / 0.6105 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.5063, allocations: 496.7 kB / 0.611 GB, free: 3.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.5067, allocations: 0.7283 MB / 0.6117 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.5069, allocations: 62.81 kB / 0.6118 GB, free: 3.156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.5069, allocations: 27.44 kB / 0.6118 GB, free: 3.129 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5069, allocations: 0 / 0.6118 GB, free: 3.129 MB / 446.1 MB Notification: Performance of Templates: time 0.00641/0.5133, allocations: 3.154 MB / 0.6149 GB, free: 12 kB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches