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.001291/0.001291, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.001179/0.001179, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.345/1.345, allocations: 222.9 MB / 242.6 MB, free: 15.3 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.2069/0.2069, allocations: 44.18 MB / 336.9 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 72.23 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1106, allocations: 60.82 MB / 469.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3684/0.4791, allocations: 134.2 MB / 0.5894 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005487/0.4846, allocations: 4.684 MB / 0.594 GB, free: 6.301 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.4849, allocations: 4 kB / 0.594 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.4853, allocations: 47.72 kB / 0.594 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.4874, allocations: 0.6804 MB / 0.5947 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.4878, allocations: 164.1 kB / 0.5949 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.4884, allocations: 370.2 kB / 0.5952 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.4885, allocations: 13.67 kB / 0.5952 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.4888, allocations: 163.3 kB / 0.5954 GB, free: 4.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.4891, allocations: 191.4 kB / 0.5956 GB, free: 4.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.4892, allocations: 8 kB / 0.5956 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.4906, allocations: 0.7018 MB / 0.5963 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.778e-05/0.4907, allocations: 51.75 kB / 0.5963 GB, free: 3.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.4909, allocations: 103.6 kB / 0.5964 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.4915, allocations: 329.2 kB / 0.5967 GB, free: 3.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4915, allocations: 0 / 0.5967 GB, free: 3.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4915, allocations: 0 / 0.5967 GB, free: 3.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4915, allocations: 3.938 kB / 0.5967 GB, free: 3.504 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.001149/0.4927, allocations: 0.5898 MB / 0.5973 GB, free: 2.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4927, allocations: 8.031 kB / 0.5973 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.4929, allocations: 36.67 kB / 0.5974 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.4931, allocations: 228 kB / 0.5976 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4933, allocations: 119.9 kB / 0.5977 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.4933, allocations: 24.19 kB / 0.5977 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.4939, allocations: 334.7 kB / 0.598 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4939, allocations: 3.938 kB / 0.598 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.4939, allocations: 12 kB / 0.598 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.4939, allocations: 4 kB / 0.598 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.4947, allocations: 0.7391 MB / 0.5988 GB, free: 1.289 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.0013/0.496, allocations: 1.222 MB / 0.6 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.4964, allocations: 183.7 kB / 0.6001 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.4966, allocations: 81.48 kB / 0.6002 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002364/0.499, allocations: 2.703 MB / 0.6029 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.499, allocations: 30.56 kB / 0.6029 GB, free: 12.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.499, allocations: 4 kB / 0.6029 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006259/0.4996, allocations: 206.6 kB / 0.6031 GB, free: 12.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.4997, allocations: 63.28 kB / 0.6031 GB, free: 12.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.4999, allocations: 215 kB / 0.6033 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4999, allocations: 33.7 kB / 0.6034 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5, allocations: 218.7 kB / 0.6036 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.5001, allocations: 47.36 kB / 0.6036 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.5002, allocations: 86.03 kB / 0.6037 GB, free: 11.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5003, allocations: 330.8 kB / 0.604 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.5004, allocations: 44.84 kB / 0.6041 GB, free: 11.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5007, allocations: 328 kB / 0.6044 GB, free: 10.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.5011, allocations: 434 kB / 0.6048 GB, free: 10.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5011, allocations: 4 kB / 0.6048 GB, free: 10.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005758/0.5017, allocations: 385.2 kB / 0.6052 GB, free: 9.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5017, allocations: 8 kB / 0.6052 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.5018, allocations: 8 kB / 0.6052 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.5018, allocations: 16 kB / 0.6052 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.5021, allocations: 112.4 kB / 0.6053 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.5021, allocations: 15.94 kB / 0.6053 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.5024, allocations: 23.91 kB / 0.6053 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.5024, allocations: 35.92 kB / 0.6054 GB, free: 9.531 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.0001293/0.5026, allocations: 157.5 kB / 0.6055 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.5026, allocations: 15.81 kB / 0.6055 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.5029, allocations: 155.8 kB / 0.6057 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.503, allocations: 3.938 kB / 0.6057 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.503, allocations: 0 / 0.6057 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.503, allocations: 0 / 0.6057 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.5035, allocations: 436.1 kB / 0.6061 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5036, allocations: 5.688 kB / 0.6061 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.5037, allocations: 39.91 kB / 0.6062 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5037, allocations: 0 / 0.6062 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5037, allocations: 0 / 0.6062 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.5038, allocations: 7.984 kB / 0.6062 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5038, allocations: 0 / 0.6062 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.504, allocations: 231.7 kB / 0.6064 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.5041, allocations: 96.91 kB / 0.6065 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.5042, allocations: 7.875 kB / 0.6065 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.5044, allocations: 11.98 kB / 0.6065 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.5044, allocations: 11.98 kB / 0.6065 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.5044, allocations: 8.875 kB / 0.6065 GB, free: 8.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.5046, allocations: 148.5 kB / 0.6067 GB, free: 8.109 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5046, allocations: 0 / 0.6067 GB, free: 8.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004836/0.5051, allocations: 96 kB / 0.6068 GB, free: 8.016 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.0003686/0.5054, allocations: 151.7 kB / 0.6069 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.5058, allocations: 194.1 kB / 0.6071 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5058, allocations: 0 / 0.6071 GB, free: 7.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.5059, allocations: 31.92 kB / 0.6071 GB, free: 7.637 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.5063, allocations: 51.02 kB / 0.6072 GB, free: 7.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.5073, allocations: 0.5845 MB / 0.6077 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.5076, allocations: 0.7283 MB / 0.6084 GB, free: 6.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.5077, allocations: 35.42 kB / 0.6085 GB, free: 6.176 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5077, allocations: 0 / 0.6085 GB, free: 6.176 MB / 446.1 MB Notification: Performance of Templates: time 0.005864/0.5136, allocations: 3.253 MB / 0.6117 GB, free: 2.941 MB / 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 -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