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.001121/0.001121, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 75.77 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.13, allocations: 62.45 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4478/0.5778, allocations: 139 MB / 0.6045 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005877/0.5837, allocations: 4.732 MB / 0.6091 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.584, allocations: 0 / 0.6091 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.5845, allocations: 63.59 kB / 0.6092 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.5865, allocations: 0.7267 MB / 0.6099 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.587, allocations: 160.5 kB / 0.61 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.5876, allocations: 374.1 kB / 0.6104 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.5877, allocations: 21.66 kB / 0.6104 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.588, allocations: 163.4 kB / 0.6106 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.5883, allocations: 183.4 kB / 0.6108 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.5884, allocations: 8 kB / 0.6108 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5898, allocations: 0.6942 MB / 0.6114 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.59, allocations: 47.75 kB / 0.6115 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.5901, allocations: 107.5 kB / 0.6116 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.5912, allocations: 468.9 kB / 0.612 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.5912, allocations: 0 / 0.612 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5912, allocations: 7.938 kB / 0.612 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.5912, allocations: 0 / 0.612 GB, free: 0.6289 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.001287/0.5925, allocations: 0.5954 MB / 0.6126 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5926, allocations: 8.031 kB / 0.6126 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.5928, allocations: 26.5 kB / 0.6127 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.5931, allocations: 239.9 kB / 0.6129 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.5932, allocations: 127.9 kB / 0.613 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.5933, allocations: 24.56 kB / 0.613 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.5939, allocations: 326.7 kB / 0.6133 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5939, allocations: 0 / 0.6133 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.5939, allocations: 16 kB / 0.6134 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.5939, allocations: 4 kB / 0.6134 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008621/0.5948, allocations: 0.743 MB / 0.6141 GB, free: 14.39 MB / 462.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.001566/0.5964, allocations: 1.218 MB / 0.6153 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.5968, allocations: 171.7 kB / 0.6154 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.597, allocations: 89.48 kB / 0.6155 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/0.5997, allocations: 2.699 MB / 0.6182 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5997, allocations: 42.56 kB / 0.6182 GB, free: 9.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.5997, allocations: 0 / 0.6182 GB, free: 9.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007115/0.6004, allocations: 216.8 kB / 0.6184 GB, free: 9.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.6005, allocations: 59.33 kB / 0.6185 GB, free: 9.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.6007, allocations: 212.1 kB / 0.6187 GB, free: 9.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.6007, allocations: 29.7 kB / 0.6187 GB, free: 9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6008, allocations: 214.7 kB / 0.6189 GB, free: 8.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.964e-05/0.6009, allocations: 55.33 kB / 0.619 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.679e-05/0.601, allocations: 82.03 kB / 0.619 GB, free: 8.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6012, allocations: 330.8 kB / 0.6193 GB, free: 8.309 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.6013, allocations: 52.84 kB / 0.6194 GB, free: 8.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.6015, allocations: 321.2 kB / 0.6197 GB, free: 7.816 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.602, allocations: 424.3 kB / 0.6201 GB, free: 7.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.602, allocations: 4 kB / 0.6201 GB, free: 7.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007042/0.6027, allocations: 369.5 kB / 0.6205 GB, free: 6.898 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6028, allocations: 8 kB / 0.6205 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.6028, allocations: 16.16 kB / 0.6205 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.6028, allocations: 12 kB / 0.6205 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.6032, allocations: 115.6 kB / 0.6206 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.6032, allocations: 19.92 kB / 0.6206 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.6036, allocations: 23.98 kB / 0.6206 GB, free: 6.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.6036, allocations: 28 kB / 0.6207 GB, free: 6.68 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.0001436/0.6038, allocations: 145.6 kB / 0.6208 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.6038, allocations: 19.81 kB / 0.6208 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.6042, allocations: 159.6 kB / 0.621 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6042, allocations: 3.938 kB / 0.621 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.6042, allocations: 4 kB / 0.621 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6042, allocations: 3.984 kB / 0.621 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.6048, allocations: 440 kB / 0.6214 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6048, allocations: 0 / 0.6214 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.605, allocations: 27.98 kB / 0.6214 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.605, allocations: 0 / 0.6214 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.605, allocations: 8 kB / 0.6215 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.605, allocations: 0 / 0.6215 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.605, allocations: 4 kB / 0.6215 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.6053, allocations: 228.8 kB / 0.6217 GB, free: 5.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/0.6054, allocations: 104.9 kB / 0.6218 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.6054, allocations: 4.688 kB / 0.6218 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.6056, allocations: 11.98 kB / 0.6218 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.6057, allocations: 4 kB / 0.6218 GB, free: 5.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.6057, allocations: 15.86 kB / 0.6218 GB, free: 5.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.6059, allocations: 152.5 kB / 0.622 GB, free: 5.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6059, allocations: 0 / 0.622 GB, free: 5.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.6064, allocations: 95.92 kB / 0.622 GB, free: 5.164 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.00048/0.6069, allocations: 159.2 kB / 0.6222 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.6073, allocations: 188.9 kB / 0.6224 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6073, allocations: 0 / 0.6224 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.6074, allocations: 31.92 kB / 0.6224 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.6078, allocations: 57.05 kB / 0.6225 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.609, allocations: 0.5116 MB / 0.623 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.6094, allocations: 0.7285 MB / 0.6237 GB, free: 3.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.6097, allocations: 58.91 kB / 0.6237 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.6098, allocations: 23.44 kB / 0.6238 GB, free: 3.355 MB / 462.1 MB Notification: Performance of SimCode: time 4.6e-07/0.6098, allocations: 0 / 0.6238 GB, free: 3.355 MB / 462.1 MB Notification: Performance of Templates: time 0.008493/0.6183, allocations: 3.212 MB / 0.6269 GB, free: 188 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches