Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001299, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.13 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002177, allocations: 77.47 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1166, allocations: 62.45 MB / 480.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3557/0.4723, allocations: 137.1 MB / 0.6028 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.478, allocations: 4.697 MB / 0.6074 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.4781, allocations: 4 kB / 0.6074 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003901/0.4786, allocations: 47.72 kB / 0.6075 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.4805, allocations: 0.6766 MB / 0.6081 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.4809, allocations: 155.4 kB / 0.6083 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.4815, allocations: 378.1 kB / 0.6086 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.4816, allocations: 17.66 kB / 0.6086 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.4818, allocations: 159.4 kB / 0.6088 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.4821, allocations: 191.3 kB / 0.609 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.4822, allocations: 15.98 kB / 0.609 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.4835, allocations: 0.7251 MB / 0.6097 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.97e-05/0.4836, allocations: 43.81 kB / 0.6097 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.4837, allocations: 111.5 kB / 0.6099 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.4842, allocations: 325.3 kB / 0.6102 GB, free: 3.051 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4843, allocations: 0 / 0.6102 GB, free: 3.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4843, allocations: 4 kB / 0.6102 GB, free: 3.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4843, allocations: 4 kB / 0.6102 GB, free: 3.043 MB / 446.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.00117/0.4855, allocations: 0.6008 MB / 0.6108 GB, free: 2.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4855, allocations: 12.03 kB / 0.6108 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.4857, allocations: 24.75 kB / 0.6108 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.4859, allocations: 224 kB / 0.611 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.4861, allocations: 127.9 kB / 0.6111 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.4861, allocations: 20.56 kB / 0.6112 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.4867, allocations: 326.7 kB / 0.6115 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4867, allocations: 0 / 0.6115 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.4868, allocations: 16 kB / 0.6115 GB, free: 1.574 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.4868, allocations: 7.984 kB / 0.6115 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000876/0.4877, allocations: 0.743 MB / 0.6122 GB, free: 0.8203 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.001459/0.4891, allocations: 1.222 MB / 0.6134 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.4896, allocations: 167.8 kB / 0.6136 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4897, allocations: 97.39 kB / 0.6137 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/0.4923, allocations: 2.695 MB / 0.6163 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4924, allocations: 38.56 kB / 0.6163 GB, free: 11.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.4924, allocations: 0 / 0.6163 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007021/0.4931, allocations: 219.8 kB / 0.6165 GB, free: 11.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.4932, allocations: 55.34 kB / 0.6166 GB, free: 11.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4934, allocations: 216.1 kB / 0.6168 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.4934, allocations: 29.7 kB / 0.6168 GB, free: 11.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.4936, allocations: 218.7 kB / 0.617 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.4936, allocations: 55.34 kB / 0.6171 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.4938, allocations: 78.03 kB / 0.6172 GB, free: 11.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4939, allocations: 330.8 kB / 0.6175 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.494, allocations: 52.84 kB / 0.6175 GB, free: 10.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.4943, allocations: 317.2 kB / 0.6178 GB, free: 10.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.4948, allocations: 416.4 kB / 0.6182 GB, free: 9.699 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4948, allocations: 8 kB / 0.6182 GB, free: 9.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005796/0.4954, allocations: 375.8 kB / 0.6186 GB, free: 9.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.4954, allocations: 8 kB / 0.6186 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.4955, allocations: 12 kB / 0.6186 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4955, allocations: 16.03 kB / 0.6186 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.4958, allocations: 112.2 kB / 0.6187 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.4959, allocations: 15.94 kB / 0.6187 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.4961, allocations: 27.88 kB / 0.6188 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.4962, allocations: 31.98 kB / 0.6188 GB, free: 9.102 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0001432/0.4963, allocations: 145.6 kB / 0.6189 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.4964, allocations: 23.75 kB / 0.619 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.4967, allocations: 151.9 kB / 0.6191 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4967, allocations: 11.92 kB / 0.6191 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4967, allocations: 0 / 0.6191 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4967, allocations: 0 / 0.6191 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.4973, allocations: 444 kB / 0.6195 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4974, allocations: 0 / 0.6195 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.4975, allocations: 31.91 kB / 0.6196 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4976, allocations: 4 kB / 0.6196 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4976, allocations: 4 kB / 0.6196 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4976, allocations: 4 kB / 0.6196 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4976, allocations: 0 / 0.6196 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.4979, allocations: 222 kB / 0.6198 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.498, allocations: 100.9 kB / 0.6199 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.498, allocations: 7.938 kB / 0.6199 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4982, allocations: 11.98 kB / 0.6199 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.4983, allocations: 11.92 kB / 0.6199 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.4983, allocations: 12 kB / 0.6199 GB, free: 7.824 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.4984, allocations: 152.5 kB / 0.6201 GB, free: 7.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.903e-06/0.4984, allocations: 0 / 0.6201 GB, free: 7.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004931/0.4989, allocations: 95.88 kB / 0.6202 GB, free: 7.578 MB / 462.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.0003535/0.4993, allocations: 151.2 kB / 0.6203 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.4997, allocations: 193.3 kB / 0.6205 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4997, allocations: 0 / 0.6205 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.4997, allocations: 31.92 kB / 0.6205 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.5002, allocations: 62.55 kB / 0.6206 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009992/0.5012, allocations: 0.5997 MB / 0.6212 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.5016, allocations: 0.7245 MB / 0.6219 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.421e-05/0.5017, allocations: 35.44 kB / 0.6219 GB, free: 5.719 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5017, allocations: 0 / 0.6219 GB, free: 5.719 MB / 462.1 MB Notification: Performance of Templates: time 0.006155/0.5078, allocations: 3.289 MB / 0.6251 GB, free: 2.449 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches