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.0009367/0.0009365, allocations: 93.33 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001163/0.001164, allocations: 201.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2024/0.2024, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 8 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3627/0.4809, allocations: 151 MB / 0.6198 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.4929, allocations: 10.71 MB / 0.6303 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.4931, allocations: 0 / 0.6303 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.4935, allocations: 71.62 kB / 0.6304 GB, free: 2.742 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006651/0.5002, allocations: 2.687 MB / 0.633 GB, free: 52 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.5006, allocations: 156.8 kB / 0.6332 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008873/0.5015, allocations: 0.7713 MB / 0.6339 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.5015, allocations: 16.41 kB / 0.6339 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.5019, allocations: 211.2 kB / 0.6341 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007268/0.5027, allocations: 414.8 kB / 0.6345 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.5027, allocations: 8 kB / 0.6345 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00838/0.5111, allocations: 5.17 MB / 0.6396 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.5113, allocations: 91.67 kB / 0.6397 GB, free: 9.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.5115, allocations: 177 kB / 0.6398 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.5147, allocations: 1.688 MB / 0.6415 GB, free: 7.355 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.5147, allocations: 0 / 0.6415 GB, free: 7.355 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5147, allocations: 0 / 0.6415 GB, free: 7.355 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5147, allocations: 0 / 0.6415 GB, free: 7.355 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.002671/0.5174, allocations: 0.9944 MB / 0.6424 GB, free: 6.312 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5174, allocations: 12.88 kB / 0.6425 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.5176, allocations: 40.39 kB / 0.6425 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.518, allocations: 246.6 kB / 0.6427 GB, free: 5.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.5182, allocations: 131.5 kB / 0.6429 GB, free: 5.828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.5183, allocations: 28 kB / 0.6429 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.519, allocations: 0.5643 MB / 0.6434 GB, free: 5.207 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5191, allocations: 0 / 0.6434 GB, free: 5.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.5191, allocations: 16 kB / 0.6435 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.5192, allocations: 28.48 kB / 0.6435 GB, free: 5.164 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.5205, allocations: 1.255 MB / 0.6447 GB, free: 3.906 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.002478/0.523, allocations: 1.988 MB / 0.6466 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.5237, allocations: 260 kB / 0.6469 GB, free: 1.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.5239, allocations: 122 kB / 0.647 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003172/0.5271, allocations: 3.106 MB / 0.65 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5271, allocations: 34.56 kB / 0.6501 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.693e-06/0.5271, allocations: 0 / 0.6501 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001824/0.529, allocations: 0.7074 MB / 0.6508 GB, free: 12.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.529, allocations: 59.41 kB / 0.6508 GB, free: 12.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.5292, allocations: 209.9 kB / 0.651 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.5293, allocations: 33.7 kB / 0.6511 GB, free: 12.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5294, allocations: 191.8 kB / 0.6512 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.5295, allocations: 157.8 kB / 0.6514 GB, free: 12.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.5296, allocations: 45.7 kB / 0.6514 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5297, allocations: 342.8 kB / 0.6518 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.5299, allocations: 105.2 kB / 0.6519 GB, free: 11.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.5302, allocations: 413.3 kB / 0.6523 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/0.5309, allocations: 0.5708 MB / 0.6528 GB, free: 10.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.531, allocations: 4 kB / 0.6528 GB, free: 10.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009129/0.5319, allocations: 0.555 MB / 0.6534 GB, free: 9.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5319, allocations: 8 kB / 0.6534 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.5319, allocations: 12 kB / 0.6534 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.532, allocations: 16 kB / 0.6534 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.5326, allocations: 192.4 kB / 0.6536 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006166/0.5332, allocations: 1.195 MB / 0.6547 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.5336, allocations: 31.94 kB / 0.6548 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-05/0.5337, allocations: 60.16 kB / 0.6548 GB, free: 8.41 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.0001938/0.5339, allocations: 173.5 kB / 0.655 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.501e-05/0.5339, allocations: 27.72 kB / 0.655 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.5352, allocations: 0.6416 MB / 0.6557 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5352, allocations: 7.984 kB / 0.6557 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5352, allocations: 0 / 0.6557 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5352, allocations: 3.984 kB / 0.6557 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.5364, allocations: 0.8157 MB / 0.6565 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5364, allocations: 8 kB / 0.6565 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.5368, allocations: 95.88 kB / 0.6566 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5368, allocations: 4.094 kB / 0.6566 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.5369, allocations: 11.98 kB / 0.6566 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005265/0.5374, allocations: 1.172 MB / 0.6577 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5374, allocations: 0 / 0.6577 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.5378, allocations: 359.4 kB / 0.6581 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.5381, allocations: 132.8 kB / 0.6582 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.5381, allocations: 4 kB / 0.6582 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.5384, allocations: 19.98 kB / 0.6582 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.5384, allocations: 27.91 kB / 0.6582 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.5385, allocations: 19.94 kB / 0.6583 GB, free: 4.668 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.5387, allocations: 172.5 kB / 0.6584 GB, free: 4.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5387, allocations: 0 / 0.6584 GB, free: 4.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001476/0.5402, allocations: 0.4957 MB / 0.6589 GB, free: 4.004 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.002042/0.5422, allocations: 0.7625 MB / 0.6597 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000815/0.5431, allocations: 361 kB / 0.66 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5431, allocations: 0 / 0.66 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.5435, allocations: 157.5 kB / 0.6601 GB, free: 2.738 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008343/0.5443, allocations: 137 kB / 0.6603 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009487/0.5538, allocations: 6.081 MB / 0.6662 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.5542, allocations: 0.7659 MB / 0.667 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.5545, allocations: 87.39 kB / 0.667 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.5545, allocations: 0 / 0.667 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.01953/0.5741, allocations: 13.73 MB / 0.6804 GB, free: 13.89 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