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.0008834/0.0008834, allocations: 99.27 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009495/0.0009495, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 227.7 MB / 246.4 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2361/0.2361, allocations: 46.2 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 63.55 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03449/0.2053, allocations: 25.17 MB / 0.4957 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01332/0.2187, allocations: 10.24 MB / 0.5057 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.219, allocations: 0 / 0.5057 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.2193, allocations: 55.7 kB / 0.5057 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3429/0.5622, allocations: 6.751 MB / 0.5123 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000886/0.5631, allocations: 314.1 kB / 0.5126 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000832/0.564, allocations: 0.5772 MB / 0.5132 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.043e-05/0.5641, allocations: 18.75 kB / 0.5132 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.5644, allocations: 183.3 kB / 0.5134 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01857/0.583, allocations: 11.37 MB / 0.5245 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.5831, allocations: 9.406 kB / 0.5245 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02455/0.6077, allocations: 11.47 MB / 0.5357 GB, free: 6.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.6079, allocations: 89.38 kB / 0.5358 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.6081, allocations: 80.55 kB / 0.5358 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.6183, allocations: 4.268 MB / 0.54 GB, free: 3.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6184, allocations: 7.984 kB / 0.54 GB, free: 3.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.09e-05/0.6184, allocations: 0 / 0.54 GB, free: 3.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.6184, allocations: 0 / 0.54 GB, free: 3.18 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.003802/0.6222, allocations: 1.487 MB / 0.5415 GB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6223, allocations: 10 kB / 0.5415 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.6224, allocations: 43.66 kB / 0.5415 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.6227, allocations: 242.5 kB / 0.5417 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.6227, allocations: 22.19 kB / 0.5418 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.6227, allocations: 25.75 kB / 0.5418 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006838/0.6234, allocations: 0.5123 MB / 0.5423 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6234, allocations: 2.906 kB / 0.5423 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.6235, allocations: 11 kB / 0.5423 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.6235, allocations: 27.75 kB / 0.5423 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.6244, allocations: 0.9139 MB / 0.5432 GB, free: 220 kB / 382.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.001983/0.6264, allocations: 1.905 MB / 0.5451 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.6271, allocations: 264 kB / 0.5453 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.6272, allocations: 101.5 kB / 0.5454 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0183/0.6456, allocations: 15.76 MB / 0.5608 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.6461, allocations: 236.2 kB / 0.561 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.265e-06/0.6461, allocations: 0 / 0.561 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002171/0.6483, allocations: 0.787 MB / 0.5618 GB, free: 10.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.6484, allocations: 277.7 kB / 0.5621 GB, free: 10.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.6486, allocations: 200.5 kB / 0.5623 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.6486, allocations: 30.64 kB / 0.5623 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6488, allocations: 202.3 kB / 0.5625 GB, free: 10.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.6489, allocations: 132.3 kB / 0.5626 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.6489, allocations: 8.062 kB / 0.5626 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.649, allocations: 338.4 kB / 0.563 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.6492, allocations: 85.56 kB / 0.563 GB, free: 9.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.6496, allocations: 371.6 kB / 0.5634 GB, free: 9.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.6499, allocations: 149.6 kB / 0.5635 GB, free: 9.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.65, allocations: 8 kB / 0.5635 GB, free: 9.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00114/0.6511, allocations: 0.4923 MB / 0.564 GB, free: 8.719 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6511, allocations: 11.95 kB / 0.564 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.6512, allocations: 15.09 kB / 0.564 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.6512, allocations: 16.97 kB / 0.5641 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.6518, allocations: 174.4 kB / 0.5642 GB, free: 8.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000638/0.6525, allocations: 1.188 MB / 0.5654 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.6528, allocations: 33.59 kB / 0.5654 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.6528, allocations: 46.31 kB / 0.5655 GB, free: 7.246 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.653, allocations: 170.5 kB / 0.5656 GB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6532, allocations: 35.02 kB / 0.5657 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/0.6542, allocations: 489.4 kB / 0.5661 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6542, allocations: 4 kB / 0.5661 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6542, allocations: 0 / 0.5661 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.6542, allocations: 3.953 kB / 0.5661 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008849/0.6551, allocations: 0.6088 MB / 0.5667 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6551, allocations: 0 / 0.5667 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.6555, allocations: 87.06 kB / 0.5668 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.6555, allocations: 4 kB / 0.5668 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.6556, allocations: 10.98 kB / 0.5668 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005472/0.6561, allocations: 1.172 MB / 0.568 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.6561, allocations: 4.031 kB / 0.568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.6567, allocations: 323.4 kB / 0.5683 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.6568, allocations: 115.3 kB / 0.5684 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.6568, allocations: 7.75 kB / 0.5684 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6571, allocations: 16.67 kB / 0.5684 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.6571, allocations: 27.42 kB / 0.5684 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.6571, allocations: 14.19 kB / 0.5685 GB, free: 4.273 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.6573, allocations: 170.3 kB / 0.5686 GB, free: 4.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6573, allocations: 0 / 0.5686 GB, free: 4.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004944/0.6622, allocations: 1.676 MB / 0.5703 GB, free: 2.566 MB / 414.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008327/0.6706, allocations: 2.128 MB / 0.5723 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.6719, allocations: 324.1 kB / 0.5726 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6719, allocations: 0.5625 kB / 0.5726 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.6723, allocations: 122.9 kB / 0.5728 GB, free: 320 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.673, allocations: 65.66 kB / 0.5728 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5346/1.208, allocations: 140.8 MB / 0.7103 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/1.208, allocations: 0.7501 MB / 0.711 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006792/1.209, allocations: 142.5 kB / 0.7112 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.209, allocations: 53.62 kB / 0.7112 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/1.209, allocations: 0.6562 kB / 0.7112 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.05835/1.267, allocations: 46.43 MB / 0.7566 GB, free: 140.6 MB / 0.5294 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches