Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001981/0.001981, allocations: 112 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002418/0.002418, allocations: 205.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.725/2.725, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4772/0.4772, allocations: 46.11 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003201/0.003201, allocations: 77.97 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.184, allocations: 62.44 MB / 480.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03973/0.2238, allocations: 27.28 MB / 0.4955 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3237/0.5475, allocations: 11.06 MB / 0.5063 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.5478, allocations: 2.062 kB / 0.5063 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.5483, allocations: 70.19 kB / 0.5064 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03289/0.5812, allocations: 8.369 MB / 0.5146 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.5828, allocations: 399.2 kB / 0.515 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.584, allocations: 0.4895 MB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.5841, allocations: 15.47 kB / 0.5154 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.5848, allocations: 195.5 kB / 0.5156 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/0.6018, allocations: 6.371 MB / 0.5219 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.602, allocations: 13.59 kB / 0.5219 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03361/0.6356, allocations: 13.43 MB / 0.535 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.6359, allocations: 92.06 kB / 0.5351 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.6363, allocations: 146.6 kB / 0.5352 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.6479, allocations: 4.596 MB / 0.5397 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.648, allocations: 0.875 kB / 0.5397 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.648, allocations: 0 / 0.5397 GB, free: 2.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.648, allocations: 4 kB / 0.5397 GB, free: 2.129 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004773/0.6528, allocations: 1.565 MB / 0.5412 GB, free: 0.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6528, allocations: 8.031 kB / 0.5412 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.6531, allocations: 33.22 kB / 0.5413 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.6534, allocations: 246.6 kB / 0.5415 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.6534, allocations: 20.56 kB / 0.5415 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.6534, allocations: 27.75 kB / 0.5416 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.6544, allocations: 0.5182 MB / 0.5421 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6544, allocations: 0 / 0.5421 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.6545, allocations: 12 kB / 0.5421 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.6545, allocations: 25.95 kB / 0.5421 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.6558, allocations: 0.9232 MB / 0.543 GB, free: 14.68 MB / 398.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.002338/0.6581, allocations: 1.901 MB / 0.5449 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.6589, allocations: 271 kB / 0.5451 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.6591, allocations: 105.5 kB / 0.5452 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02002/0.6791, allocations: 15.69 MB / 0.5605 GB, free: 9.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.6797, allocations: 257.8 kB / 0.5608 GB, free: 9.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.6797, allocations: 0 / 0.5608 GB, free: 9.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00244/0.6822, allocations: 0.772 MB / 0.5615 GB, free: 8.535 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.6823, allocations: 273 kB / 0.5618 GB, free: 8.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.6826, allocations: 207.3 kB / 0.562 GB, free: 7.996 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.6826, allocations: 33.55 kB / 0.562 GB, free: 7.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6827, allocations: 202.2 kB / 0.5622 GB, free: 7.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.6829, allocations: 126.3 kB / 0.5623 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.683, allocations: 122.1 kB / 0.5624 GB, free: 7.516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6832, allocations: 334.8 kB / 0.5628 GB, free: 7.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.6833, allocations: 89.06 kB / 0.5629 GB, free: 7.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.6838, allocations: 365.6 kB / 0.5632 GB, free: 6.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.6846, allocations: 0.5082 MB / 0.5637 GB, free: 5.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.6846, allocations: 0 / 0.5637 GB, free: 5.973 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001351/0.686, allocations: 0.501 MB / 0.5642 GB, free: 5.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.686, allocations: 12 kB / 0.5642 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.686, allocations: 8 kB / 0.5642 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.6861, allocations: 12 kB / 0.5642 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007096/0.6868, allocations: 179.7 kB / 0.5644 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006923/0.6875, allocations: 1.19 MB / 0.5656 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.6878, allocations: 31.84 kB / 0.5656 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.6879, allocations: 47.92 kB / 0.5656 GB, free: 3.945 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * 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.0002181/0.6881, allocations: 169.8 kB / 0.5658 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.6884, allocations: 35.72 kB / 0.5658 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.6895, allocations: 487.8 kB / 0.5663 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6895, allocations: 4 kB / 0.5663 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6895, allocations: 0 / 0.5663 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.6895, allocations: 4.5 kB / 0.5663 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6905, allocations: 0.6064 MB / 0.5669 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6906, allocations: 0 / 0.5669 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004252/0.691, allocations: 92.02 kB / 0.567 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.691, allocations: 4 kB / 0.567 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.691, allocations: 11.94 kB / 0.567 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005991/0.6916, allocations: 1.168 MB / 0.5681 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.6917, allocations: 8.219 kB / 0.5681 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.6923, allocations: 322.5 kB / 0.5684 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.6924, allocations: 101.4 kB / 0.5685 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.6925, allocations: 12 kB / 0.5686 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.6927, allocations: 11.98 kB / 0.5686 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.6928, allocations: 27.91 kB / 0.5686 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.6928, allocations: 15.25 kB / 0.5686 GB, free: 0.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.693, allocations: 164.5 kB / 0.5688 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.693, allocations: 0 / 0.5688 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005512/0.6985, allocations: 1.694 MB / 0.5704 GB, free: 14.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * 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.009414/0.708, allocations: 2.336 MB / 0.5727 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.7094, allocations: 330.1 kB / 0.573 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.7095, allocations: 4 kB / 0.573 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.71, allocations: 122.9 kB / 0.5731 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.7109, allocations: 123 kB / 0.5733 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2168/0.9277, allocations: 141.3 MB / 0.7112 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.9282, allocations: 0.7534 MB / 0.7119 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.9285, allocations: 67.41 kB / 0.712 GB, free: 5.449 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.9285, allocations: 3.938 kB / 0.712 GB, free: 5.445 MB / 0.545 GB Notification: Performance of Templates: time 0.2744/1.203, allocations: 35.85 MB / 0.747 GB, free: 194.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches