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.001904/0.001904, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002538/0.002538, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.423/2.423, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3462/0.3462, allocations: 46.11 MB / 344.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 71.56 kB / 417.5 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1958, allocations: 62.45 MB / 479.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.6687/0.8646, allocations: 152.9 MB / 0.618 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.8794, allocations: 10.88 MB / 0.6287 GB, free: 36 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.8798, allocations: 0 / 0.6287 GB, free: 36 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.8804, allocations: 75.61 kB / 0.6287 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008964/0.8894, allocations: 2.688 MB / 0.6314 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.8899, allocations: 150.4 kB / 0.6315 GB, free: 13.13 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.891, allocations: 0.7675 MB / 0.6323 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.611e-05/0.8911, allocations: 16.41 kB / 0.6323 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.8916, allocations: 215.2 kB / 0.6325 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009618/0.8926, allocations: 414.8 kB / 0.6329 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.8927, allocations: 8 kB / 0.6329 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.9031, allocations: 5.166 MB / 0.6379 GB, free: 6.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.9034, allocations: 95.67 kB / 0.638 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.9037, allocations: 159.2 kB / 0.6382 GB, free: 6.297 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.9082, allocations: 1.692 MB / 0.6398 GB, free: 4.602 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9082, allocations: 0 / 0.6398 GB, free: 4.602 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.9082, allocations: 0 / 0.6398 GB, free: 4.602 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.9082, allocations: 0 / 0.6398 GB, free: 4.602 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.00331/0.9115, allocations: 1.061 MB / 0.6409 GB, free: 3.492 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.9116, allocations: 12.88 kB / 0.6409 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.9119, allocations: 36.41 kB / 0.6409 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.9123, allocations: 246.6 kB / 0.6411 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.9125, allocations: 123.5 kB / 0.6413 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.9126, allocations: 32 kB / 0.6413 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.914, allocations: 0.5643 MB / 0.6418 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.914, allocations: 3.984 kB / 0.6418 GB, free: 2.391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.9141, allocations: 19.92 kB / 0.6419 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.161e-05/0.9142, allocations: 28.55 kB / 0.6419 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.9165, allocations: 1.255 MB / 0.6431 GB, free: 1.086 MB / 478.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.004194/0.9207, allocations: 1.984 MB / 0.6451 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.922, allocations: 267.2 kB / 0.6453 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.9224, allocations: 122 kB / 0.6454 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005679/0.9281, allocations: 3.099 MB / 0.6484 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.9282, allocations: 38.56 kB / 0.6485 GB, free: 10.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 4.108e-06/0.9282, allocations: 0 / 0.6485 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.003509/0.9317, allocations: 0.7099 MB / 0.6492 GB, free: 10.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.9318, allocations: 59.41 kB / 0.6492 GB, free: 10.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.9322, allocations: 202.8 kB / 0.6494 GB, free: 9.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/0.9322, allocations: 37.7 kB / 0.6495 GB, free: 9.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.9325, allocations: 191.8 kB / 0.6496 GB, free: 9.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.9327, allocations: 157.7 kB / 0.6498 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.933, allocations: 130.2 kB / 0.6499 GB, free: 9.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.9332, allocations: 338.8 kB / 0.6502 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.9336, allocations: 101.2 kB / 0.6503 GB, free: 8.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/0.9344, allocations: 426.1 kB / 0.6507 GB, free: 8.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.9356, allocations: 0.5747 MB / 0.6513 GB, free: 7.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.9357, allocations: 1.5 kB / 0.6513 GB, free: 7.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001843/0.9375, allocations: 0.5481 MB / 0.6518 GB, free: 7.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.9376, allocations: 8 kB / 0.6519 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/0.9376, allocations: 12 kB / 0.6519 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.506e-05/0.9377, allocations: 12 kB / 0.6519 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.939, allocations: 199.7 kB / 0.6521 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.9401, allocations: 1.196 MB / 0.6532 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007067/0.9409, allocations: 32.72 kB / 0.6533 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.941, allocations: 51.98 kB / 0.6533 GB, free: 5.52 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.0003787/0.9414, allocations: 177.5 kB / 0.6535 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.9416, allocations: 31.88 kB / 0.6535 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.9439, allocations: 0.6222 MB / 0.6541 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/0.944, allocations: 7.938 kB / 0.6541 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.944, allocations: 0 / 0.6541 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.944, allocations: 7.984 kB / 0.6541 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.946, allocations: 0.8197 MB / 0.6549 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9461, allocations: 0 / 0.6549 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.9469, allocations: 107.8 kB / 0.655 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.9469, allocations: 4 kB / 0.655 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.947, allocations: 8 kB / 0.6551 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009718/0.948, allocations: 1.176 MB / 0.6562 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.948, allocations: 0 / 0.6562 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00099/0.949, allocations: 359.4 kB / 0.6565 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.9493, allocations: 120.8 kB / 0.6567 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.9494, allocations: 8 kB / 0.6567 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.9499, allocations: 11.98 kB / 0.6567 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.95, allocations: 27.91 kB / 0.6567 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/0.9501, allocations: 16 kB / 0.6567 GB, free: 1.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003369/0.9505, allocations: 168.5 kB / 0.6569 GB, free: 1.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9505, allocations: 4 kB / 0.6569 GB, free: 1.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003032/0.9535, allocations: 0.4996 MB / 0.6574 GB, free: 1.129 MB / 494.1 MB 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.004131/0.9577, allocations: 0.7603 MB / 0.6581 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.9595, allocations: 369.6 kB / 0.6585 GB, free: 8 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.9595, allocations: 4 kB / 0.6585 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.9603, allocations: 148.1 kB / 0.6586 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.9619, allocations: 131.4 kB / 0.6587 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.9798, allocations: 6.04 MB / 0.6646 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/0.9806, allocations: 0.7659 MB / 0.6654 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/0.9813, allocations: 87.39 kB / 0.6655 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of SimCode: time 1.903e-06/0.9813, allocations: 0 / 0.6655 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of Templates: time 0.02589/1.007, allocations: 13.74 MB / 0.6789 GB, free: 11.04 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