Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.77 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3566/0.4654, allocations: 155.1 MB / 0.6216 GB, free: 7.758 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.4773, allocations: 10.54 MB / 0.6319 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.4775, allocations: 4 kB / 0.6319 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.478, allocations: 79.48 kB / 0.632 GB, free: 13.13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007567/0.4856, allocations: 3.04 MB / 0.635 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.486, allocations: 174.9 kB / 0.6351 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.4868, allocations: 0.5217 MB / 0.6356 GB, free: 9.395 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.07e-05/0.4868, allocations: 20.41 kB / 0.6357 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.4873, allocations: 231.1 kB / 0.6359 GB, free: 9.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007546/0.488, allocations: 382.9 kB / 0.6362 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.4881, allocations: 20 kB / 0.6363 GB, free: 8.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008458/0.4966, allocations: 4.694 MB / 0.6408 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.4968, allocations: 103.6 kB / 0.6409 GB, free: 3.953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.497, allocations: 151.3 kB / 0.6411 GB, free: 3.805 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.5024, allocations: 2.421 MB / 0.6435 GB, free: 1.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5024, allocations: 4 kB / 0.6435 GB, free: 1.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5025, allocations: 3.938 kB / 0.6435 GB, free: 1.371 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.5025, allocations: 4 kB / 0.6435 GB, free: 1.367 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002572/0.505, allocations: 1.061 MB / 0.6445 GB, free: 264 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.5051, allocations: 12.03 kB / 0.6445 GB, free: 252 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.5053, allocations: 40.41 kB / 0.6446 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.5057, allocations: 250.7 kB / 0.6448 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.5058, allocations: 127.5 kB / 0.6449 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.5059, allocations: 30.75 kB / 0.6449 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.5067, allocations: 0.5603 MB / 0.6455 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5067, allocations: 7.938 kB / 0.6455 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.5068, allocations: 12 kB / 0.6455 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.5068, allocations: 28.55 kB / 0.6455 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.5082, allocations: 1.255 MB / 0.6468 GB, free: 13.85 MB / 494.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.002361/0.5106, allocations: 1.977 MB / 0.6487 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.5113, allocations: 260 kB / 0.6489 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.5115, allocations: 118 kB / 0.6491 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002973/0.5145, allocations: 3.103 MB / 0.6521 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5146, allocations: 38.56 kB / 0.6521 GB, free: 7.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.5146, allocations: 0 / 0.6521 GB, free: 7.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001809/0.5164, allocations: 0.7194 MB / 0.6528 GB, free: 6.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.5164, allocations: 55.41 kB / 0.6529 GB, free: 6.859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.5166, allocations: 203 kB / 0.6531 GB, free: 6.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.5166, allocations: 33.7 kB / 0.6531 GB, free: 6.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.5168, allocations: 191.8 kB / 0.6533 GB, free: 6.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.5169, allocations: 157.7 kB / 0.6534 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.517, allocations: 134.2 kB / 0.6536 GB, free: 6.125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5172, allocations: 338.8 kB / 0.6539 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.5173, allocations: 105.2 kB / 0.654 GB, free: 5.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.5177, allocations: 409.3 kB / 0.6544 GB, free: 5.133 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000804/0.5185, allocations: 0.5753 MB / 0.6549 GB, free: 4.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.5186, allocations: 4 kB / 0.6549 GB, free: 4.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009407/0.5195, allocations: 0.5522 MB / 0.6555 GB, free: 3.848 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5195, allocations: 8.938 kB / 0.6555 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.5196, allocations: 15.98 kB / 0.6555 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.5196, allocations: 15.98 kB / 0.6555 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.5202, allocations: 196.9 kB / 0.6557 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006133/0.5209, allocations: 1.191 MB / 0.6569 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.5212, allocations: 24 kB / 0.6569 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.5213, allocations: 56.16 kB / 0.6569 GB, free: 2.301 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.5215, allocations: 177.5 kB / 0.6571 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.5216, allocations: 31.62 kB / 0.6571 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5227, allocations: 0.6339 MB / 0.6578 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.5227, allocations: 4 kB / 0.6578 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5227, allocations: 0 / 0.6578 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.5227, allocations: 4.875 kB / 0.6578 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.5238, allocations: 0.8165 MB / 0.6586 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.5238, allocations: 4 kB / 0.6586 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.5242, allocations: 99.92 kB / 0.6587 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5242, allocations: 4 kB / 0.6587 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.5243, allocations: 12 kB / 0.6587 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000529/0.5248, allocations: 1.176 MB / 0.6598 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5248, allocations: 4.031 kB / 0.6598 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.5253, allocations: 363.2 kB / 0.6602 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.5254, allocations: 112.8 kB / 0.6603 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.5255, allocations: 8 kB / 0.6603 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.5257, allocations: 11.98 kB / 0.6603 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.5258, allocations: 31.84 kB / 0.6603 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.5258, allocations: 23.98 kB / 0.6604 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001727/0.526, allocations: 172.5 kB / 0.6605 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.526, allocations: 0 / 0.6605 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001379/0.5274, allocations: 0.4918 MB / 0.661 GB, free: 13.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/0.5292, allocations: 0.7607 MB / 0.6618 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000822/0.5301, allocations: 361.1 kB / 0.6621 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5301, allocations: 4 kB / 0.6621 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.5304, allocations: 147.8 kB / 0.6622 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.5312, allocations: 135.4 kB / 0.6624 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008307/0.5395, allocations: 5.893 MB / 0.6681 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5398, allocations: 0.7662 MB / 0.6689 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005419/0.5404, allocations: 198.7 kB / 0.6691 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.5406, allocations: 75.39 kB / 0.6691 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.5406, allocations: 0 / 0.6691 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.02142/0.562, allocations: 15.09 MB / 0.6839 GB, free: 6.484 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches