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.00134/0.00134, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.13 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 80.08 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1087, allocations: 62.45 MB / 480.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3748/0.4836, allocations: 155.1 MB / 0.6209 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.4977, allocations: 10.55 MB / 0.6312 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.498, allocations: 0 / 0.6312 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005173/0.4985, allocations: 83.48 kB / 0.6313 GB, free: 13.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008464/0.507, allocations: 3.042 MB / 0.6343 GB, free: 10.44 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.5075, allocations: 156.2 kB / 0.6344 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008642/0.5083, allocations: 0.5295 MB / 0.635 GB, free: 9.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.5084, allocations: 16.41 kB / 0.635 GB, free: 9.746 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.5089, allocations: 231.2 kB / 0.6352 GB, free: 9.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008491/0.5098, allocations: 386.8 kB / 0.6356 GB, free: 9.141 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.5099, allocations: 12 kB / 0.6356 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009595/0.5195, allocations: 4.656 MB / 0.6401 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.5198, allocations: 95.69 kB / 0.6402 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.5201, allocations: 159.3 kB / 0.6404 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.527, allocations: 2.421 MB / 0.6427 GB, free: 1.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.527, allocations: 4 kB / 0.6427 GB, free: 1.785 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.527, allocations: 0 / 0.6427 GB, free: 1.785 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.5271, allocations: 0 / 0.6427 GB, free: 1.785 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.003184/0.5302, allocations: 1.065 MB / 0.6438 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5303, allocations: 8.031 kB / 0.6438 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.5306, allocations: 40.41 kB / 0.6438 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.531, allocations: 250.6 kB / 0.6441 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.5311, allocations: 127.5 kB / 0.6442 GB, free: 196 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.5312, allocations: 31.98 kB / 0.6442 GB, free: 164 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009479/0.5322, allocations: 0.5603 MB / 0.6448 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5322, allocations: 0 / 0.6448 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.5322, allocations: 16.88 kB / 0.6448 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/0.5323, allocations: 28.48 kB / 0.6448 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.5339, allocations: 1.259 MB / 0.646 GB, free: 14.27 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.002797/0.5367, allocations: 1.977 MB / 0.648 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.5374, allocations: 268 kB / 0.6482 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.5377, allocations: 114 kB / 0.6483 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003841/0.5415, allocations: 3.112 MB / 0.6514 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5416, allocations: 38.56 kB / 0.6514 GB, free: 8.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.305e-06/0.5416, allocations: 3.938 kB / 0.6514 GB, free: 8.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.002131/0.5437, allocations: 0.7095 MB / 0.6521 GB, free: 7.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5438, allocations: 55.41 kB / 0.6521 GB, free: 7.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.544, allocations: 209.9 kB / 0.6523 GB, free: 7.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.5441, allocations: 29.7 kB / 0.6524 GB, free: 7.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.5442, allocations: 195.8 kB / 0.6526 GB, free: 6.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.5444, allocations: 157.7 kB / 0.6527 GB, free: 6.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.5446, allocations: 134.2 kB / 0.6528 GB, free: 6.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5448, allocations: 334.8 kB / 0.6532 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.545, allocations: 101.2 kB / 0.6533 GB, free: 6.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.5455, allocations: 425.3 kB / 0.6537 GB, free: 5.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/0.5464, allocations: 0.5708 MB / 0.6542 GB, free: 4.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5464, allocations: 0 / 0.6542 GB, free: 4.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001128/0.5475, allocations: 0.5559 MB / 0.6548 GB, free: 4.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5476, allocations: 12 kB / 0.6548 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.5476, allocations: 12 kB / 0.6548 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.5476, allocations: 12 kB / 0.6548 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.5484, allocations: 195.7 kB / 0.655 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008069/0.5492, allocations: 1.196 MB / 0.6562 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.5495, allocations: 20 kB / 0.6562 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.5497, allocations: 55.98 kB / 0.6562 GB, free: 2.703 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.000241/0.5499, allocations: 173.5 kB / 0.6564 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.55, allocations: 27.72 kB / 0.6564 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.5514, allocations: 0.634 MB / 0.657 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.5514, allocations: 4 kB / 0.657 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5514, allocations: 3.984 kB / 0.657 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5514, allocations: 0 / 0.657 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.5528, allocations: 0.8244 MB / 0.6578 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.5528, allocations: 7.922 kB / 0.6579 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.5533, allocations: 99.38 kB / 0.6579 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5533, allocations: 4 kB / 0.658 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5533, allocations: 8 kB / 0.658 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007484/0.5541, allocations: 1.164 MB / 0.6591 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5541, allocations: 3.938 kB / 0.6591 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.5546, allocations: 367 kB / 0.6595 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.5548, allocations: 120.9 kB / 0.6596 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.5549, allocations: 12 kB / 0.6596 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.5552, allocations: 11.98 kB / 0.6596 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.5552, allocations: 27.91 kB / 0.6596 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.5553, allocations: 15.98 kB / 0.6596 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001919/0.5555, allocations: 176.5 kB / 0.6598 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5555, allocations: 3.938 kB / 0.6598 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001573/0.557, allocations: 0.4996 MB / 0.6603 GB, free: 14.3 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.002249/0.5593, allocations: 0.749 MB / 0.661 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.5604, allocations: 382.6 kB / 0.6614 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5604, allocations: 0.75 kB / 0.6614 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.5608, allocations: 152 kB / 0.6615 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.5617, allocations: 133.8 kB / 0.6617 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.572, allocations: 5.913 MB / 0.6674 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.5725, allocations: 0.7701 MB / 0.6682 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.5728, allocations: 87.38 kB / 0.6683 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.5728, allocations: 0 / 0.6683 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.02224/0.5951, allocations: 13.76 MB / 0.6817 GB, free: 8.328 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 -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