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.001591/0.00159, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 216 kB / 19.25 MB, free: 3.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 77.53 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1133, allocations: 62.44 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3526/0.466, allocations: 139 MB / 0.6052 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.4715, allocations: 4.731 MB / 0.6098 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.4718, allocations: 0 / 0.6098 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.4723, allocations: 63.59 kB / 0.6098 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.4746, allocations: 0.7384 MB / 0.6106 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.4751, allocations: 156.9 kB / 0.6107 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.4757, allocations: 374.1 kB / 0.6111 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.4758, allocations: 17.67 kB / 0.6111 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.4761, allocations: 159.4 kB / 0.6112 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.4764, allocations: 187.4 kB / 0.6114 GB, free: 1.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.4765, allocations: 8 kB / 0.6114 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.478, allocations: 0.6981 MB / 0.6121 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4782, allocations: 47.77 kB / 0.6122 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.4783, allocations: 107.5 kB / 0.6123 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.4795, allocations: 460.9 kB / 0.6127 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4795, allocations: 0 / 0.6127 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4795, allocations: 0 / 0.6127 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.4795, allocations: 0 / 0.6127 GB, free: 0.6406 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.001204/0.4807, allocations: 0.6047 MB / 0.6133 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4808, allocations: 11.97 kB / 0.6133 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.4809, allocations: 24.75 kB / 0.6133 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.4812, allocations: 232 kB / 0.6135 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.4814, allocations: 123.9 kB / 0.6137 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.4814, allocations: 24.5 kB / 0.6137 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.482, allocations: 330.7 kB / 0.614 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.482, allocations: 0 / 0.614 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.482, allocations: 12 kB / 0.614 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.482, allocations: 4 kB / 0.614 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.4829, allocations: 0.743 MB / 0.6147 GB, free: 14.4 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.001356/0.4842, allocations: 1.222 MB / 0.6159 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.4847, allocations: 175.8 kB / 0.6161 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4848, allocations: 81.48 kB / 0.6162 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002579/0.4874, allocations: 2.699 MB / 0.6188 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4875, allocations: 42.56 kB / 0.6189 GB, free: 9.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.4875, allocations: 4 kB / 0.6189 GB, free: 9.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007078/0.4882, allocations: 216.8 kB / 0.6191 GB, free: 9.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.4882, allocations: 55.34 kB / 0.6191 GB, free: 9.254 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.4884, allocations: 216.1 kB / 0.6193 GB, free: 9.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.4885, allocations: 33.69 kB / 0.6194 GB, free: 8.996 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.4886, allocations: 214.7 kB / 0.6196 GB, free: 8.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.4886, allocations: 51.34 kB / 0.6196 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-05/0.4887, allocations: 82.03 kB / 0.6197 GB, free: 8.641 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.4889, allocations: 326.8 kB / 0.62 GB, free: 8.312 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.489, allocations: 56.83 kB / 0.6201 GB, free: 8.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.4892, allocations: 325.1 kB / 0.6204 GB, free: 7.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.4896, allocations: 413.3 kB / 0.6208 GB, free: 7.277 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4896, allocations: 4 kB / 0.6208 GB, free: 7.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005724/0.4902, allocations: 378.7 kB / 0.6211 GB, free: 6.898 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4902, allocations: 8 kB / 0.6211 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4903, allocations: 12 kB / 0.6211 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4903, allocations: 12 kB / 0.6212 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.4906, allocations: 111.8 kB / 0.6213 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.4907, allocations: 20.47 kB / 0.6213 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.4909, allocations: 27.62 kB / 0.6213 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.4909, allocations: 31.98 kB / 0.6213 GB, free: 6.684 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.0001231/0.4911, allocations: 153.6 kB / 0.6215 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.709e-05/0.4911, allocations: 19.81 kB / 0.6215 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.4914, allocations: 147.8 kB / 0.6216 GB, free: 6.355 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4915, allocations: 3.938 kB / 0.6216 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4915, allocations: 4 kB / 0.6216 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4915, allocations: 0 / 0.6216 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005156/0.492, allocations: 436 kB / 0.6221 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.492, allocations: 4 kB / 0.6221 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.4922, allocations: 32.05 kB / 0.6221 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4922, allocations: 4 kB / 0.6221 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4922, allocations: 3.984 kB / 0.6221 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4922, allocations: 0 / 0.6221 GB, free: 5.816 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4922, allocations: 4 kB / 0.6221 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.4925, allocations: 232.2 kB / 0.6223 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.4926, allocations: 100.9 kB / 0.6224 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.4926, allocations: 8 kB / 0.6224 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4928, allocations: 7.984 kB / 0.6224 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.4928, allocations: 7.984 kB / 0.6225 GB, free: 5.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4929, allocations: 8 kB / 0.6225 GB, free: 5.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.493, allocations: 152.5 kB / 0.6226 GB, free: 5.266 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.493, allocations: 0 / 0.6226 GB, free: 5.266 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.4935, allocations: 95.94 kB / 0.6227 GB, free: 5.172 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.000338/0.4938, allocations: 163.2 kB / 0.6229 GB, free: 5.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.4942, allocations: 177.9 kB / 0.623 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4942, allocations: 4.125 kB / 0.623 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.4942, allocations: 43.91 kB / 0.6231 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.0004505/0.4947, allocations: 53.83 kB / 0.6231 GB, free: 4.738 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.4957, allocations: 0.5484 MB / 0.6237 GB, free: 4.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.4959, allocations: 0.7245 MB / 0.6244 GB, free: 3.398 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.496, allocations: 35.42 kB / 0.6244 GB, free: 3.363 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.496, allocations: 0 / 0.6244 GB, free: 3.363 MB / 462.1 MB Notification: Performance of Templates: time 0.005846/0.5019, allocations: 3.304 MB / 0.6276 GB, free: 76 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/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