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.001734/0.001733, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002197/0.002197, allocations: 209.8 kB / 18.92 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.714/1.714, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.47/0.47, allocations: 46.11 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003214, allocations: 75.75 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.209, allocations: 62.44 MB / 480.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.6891/0.8982, allocations: 153 MB / 0.6183 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02432/0.9226, allocations: 10.5 MB / 0.6285 GB, free: 200 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.923, allocations: 0 / 0.6285 GB, free: 200 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.9238, allocations: 79.61 kB / 0.6286 GB, free: 120 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01631/0.9402, allocations: 2.812 MB / 0.6314 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008627/0.9411, allocations: 157.8 kB / 0.6315 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.9425, allocations: 0.5256 MB / 0.632 GB, free: 12.62 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.9427, allocations: 20.39 kB / 0.632 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/0.9437, allocations: 231.2 kB / 0.6323 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.9453, allocations: 410.8 kB / 0.6327 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.9454, allocations: 12 kB / 0.6327 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01726/0.9627, allocations: 4.881 MB / 0.6374 GB, free: 7.078 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.963, allocations: 99.73 kB / 0.6375 GB, free: 6.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.9635, allocations: 159.2 kB / 0.6377 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007768/0.9713, allocations: 1.677 MB / 0.6393 GB, free: 5.145 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.9714, allocations: 7.875 kB / 0.6393 GB, free: 5.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9714, allocations: 4 kB / 0.6393 GB, free: 5.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.9715, allocations: 0 / 0.6393 GB, free: 5.133 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.004218/0.9757, allocations: 1.061 MB / 0.6404 GB, free: 4.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.9758, allocations: 8.031 kB / 0.6404 GB, free: 4.016 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003208/0.9761, allocations: 44.41 kB / 0.6404 GB, free: 3.973 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.9766, allocations: 250.6 kB / 0.6407 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.9768, allocations: 131.4 kB / 0.6408 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.9769, allocations: 28 kB / 0.6408 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.9782, allocations: 0.5603 MB / 0.6414 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.9783, allocations: 0 / 0.6414 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.9784, allocations: 23.94 kB / 0.6414 GB, free: 2.895 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-05/0.9785, allocations: 28.48 kB / 0.6414 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.9813, allocations: 1.255 MB / 0.6426 GB, free: 1.609 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.004793/0.9861, allocations: 1.98 MB / 0.6446 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.9876, allocations: 260 kB / 0.6448 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.988, allocations: 110.1 kB / 0.6449 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006341/0.9943, allocations: 3.102 MB / 0.6479 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.9944, allocations: 38.56 kB / 0.648 GB, free: 11.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 3.587e-06/0.9945, allocations: 0 / 0.648 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.003044/0.9975, allocations: 0.7099 MB / 0.6487 GB, free: 10.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.9976, allocations: 55.41 kB / 0.6487 GB, free: 10.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.9979, allocations: 205.9 kB / 0.6489 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.998, allocations: 29.7 kB / 0.649 GB, free: 10.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.9982, allocations: 199.8 kB / 0.6491 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.9984, allocations: 153.7 kB / 0.6493 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.9987, allocations: 150.1 kB / 0.6494 GB, free: 9.879 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9989, allocations: 330.8 kB / 0.6497 GB, free: 9.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.9992, allocations: 105.2 kB / 0.6498 GB, free: 9.445 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/1, allocations: 417.3 kB / 0.6502 GB, free: 8.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.001, allocations: 0.563 MB / 0.6508 GB, free: 8.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/1.002, allocations: 4 kB / 0.6508 GB, free: 8.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002011/1.004, allocations: 0.5514 MB / 0.6513 GB, free: 7.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.004, allocations: 12 kB / 0.6513 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.004, allocations: 8.906 kB / 0.6514 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.209e-05/1.004, allocations: 16 kB / 0.6514 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.005, allocations: 201.7 kB / 0.6516 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/1.006, allocations: 1.191 MB / 0.6527 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/1.007, allocations: 28.09 kB / 0.6528 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.007, allocations: 59.97 kB / 0.6528 GB, free: 6.059 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.0004208/1.008, allocations: 177.5 kB / 0.653 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.008, allocations: 23.72 kB / 0.653 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/1.011, allocations: 0.6378 MB / 0.6536 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/1.011, allocations: 4 kB / 0.6536 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.011, allocations: 0 / 0.6536 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.011, allocations: 0 / 0.6536 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/1.013, allocations: 0.8283 MB / 0.6544 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.013, allocations: 0 / 0.6544 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/1.014, allocations: 96.91 kB / 0.6545 GB, free: 4.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/1.014, allocations: 3.938 kB / 0.6545 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/1.014, allocations: 8 kB / 0.6545 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/1.015, allocations: 1.176 MB / 0.6557 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.015, allocations: 9.688 kB / 0.6557 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.017, allocations: 355.1 kB / 0.656 GB, free: 2.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/1.017, allocations: 120.8 kB / 0.6562 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.017, allocations: 7.938 kB / 0.6562 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/1.018, allocations: 19.98 kB / 0.6562 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.018, allocations: 27.91 kB / 0.6562 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-05/1.018, allocations: 15.98 kB / 0.6562 GB, free: 2.332 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004266/1.018, allocations: 172.5 kB / 0.6564 GB, free: 2.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.235e-05/1.018, allocations: 0 / 0.6564 GB, free: 2.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003559/1.022, allocations: 0.4956 MB / 0.6569 GB, free: 1.668 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.0049/1.027, allocations: 0.7588 MB / 0.6576 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/1.029, allocations: 387.9 kB / 0.658 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/1.029, allocations: 5.75 kB / 0.658 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000835/1.03, allocations: 148 kB / 0.6581 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/1.032, allocations: 129 kB / 0.6583 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.054, allocations: 6.04 MB / 0.6642 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/1.054, allocations: 0.7699 MB / 0.6649 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007048/1.055, allocations: 83.39 kB / 0.665 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/1.055, allocations: 0 / 0.665 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.04253/1.098, allocations: 13.77 MB / 0.6784 GB, free: 11.55 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