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.0009606/0.0009605, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.7 MB / 246.8 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003018, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 63.55 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0403/0.1878, allocations: 28.16 MB / 0.4993 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3013/0.4892, allocations: 11.5 MB / 0.5105 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/0.4895, allocations: 4.312 kB / 0.5105 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.4899, allocations: 73.53 kB / 0.5106 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03232/0.5223, allocations: 7.609 MB / 0.518 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.5234, allocations: 397 kB / 0.5184 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.5246, allocations: 0.6821 MB / 0.519 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.763e-05/0.5247, allocations: 16.38 kB / 0.5191 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.5251, allocations: 184.9 kB / 0.5192 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.5377, allocations: 6.304 MB / 0.5254 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.5379, allocations: 10.03 kB / 0.5254 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02902/0.5669, allocations: 13.76 MB / 0.5388 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.5671, allocations: 88.61 kB / 0.5389 GB, free: 5.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.5674, allocations: 165.8 kB / 0.5391 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02365/0.5911, allocations: 6.954 MB / 0.5459 GB, free: 15.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5911, allocations: 4 kB / 0.5459 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5912, allocations: 4 kB / 0.5459 GB, free: 15.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.5912, allocations: 0 / 0.5459 GB, free: 15.75 MB / 398.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.005252/0.5964, allocations: 1.492 MB / 0.5473 GB, free: 14.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5965, allocations: 8.875 kB / 0.5473 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.5967, allocations: 33.22 kB / 0.5474 GB, free: 14.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.597, allocations: 250.6 kB / 0.5476 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.5971, allocations: 21.06 kB / 0.5476 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.5971, allocations: 26.89 kB / 0.5477 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.598, allocations: 0.5042 MB / 0.5482 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5981, allocations: 4 kB / 0.5482 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.5981, allocations: 19.98 kB / 0.5482 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.5982, allocations: 20.56 kB / 0.5482 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5994, allocations: 0.9193 MB / 0.5491 GB, free: 12.38 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.002376/0.6018, allocations: 1.917 MB / 0.551 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.6026, allocations: 269 kB / 0.5512 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.6027, allocations: 101.5 kB / 0.5513 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01963/0.6224, allocations: 15.74 MB / 0.5667 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.6229, allocations: 253 kB / 0.5669 GB, free: 6.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.887e-06/0.623, allocations: 0 / 0.5669 GB, free: 6.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002472/0.6255, allocations: 0.7953 MB / 0.5677 GB, free: 6.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.6256, allocations: 277 kB / 0.568 GB, free: 5.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.6258, allocations: 203.3 kB / 0.5682 GB, free: 5.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.6259, allocations: 29.7 kB / 0.5682 GB, free: 5.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.626, allocations: 199.4 kB / 0.5684 GB, free: 5.375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.6262, allocations: 124.4 kB / 0.5685 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.6262, allocations: 51.44 kB / 0.5686 GB, free: 5.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6264, allocations: 330.8 kB / 0.5689 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.6266, allocations: 93.06 kB / 0.569 GB, free: 4.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.627, allocations: 369.5 kB / 0.5693 GB, free: 4.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000804/0.6279, allocations: 0.5105 MB / 0.5698 GB, free: 3.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6279, allocations: 0 / 0.5698 GB, free: 3.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001298/0.6292, allocations: 0.4971 MB / 0.5703 GB, free: 3.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.6292, allocations: 18.69 kB / 0.5703 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6292, allocations: 8 kB / 0.5703 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.6293, allocations: 12 kB / 0.5703 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/0.63, allocations: 183.5 kB / 0.5705 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006893/0.6307, allocations: 1.195 MB / 0.5717 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.631, allocations: 23.94 kB / 0.5717 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.193e-05/0.6311, allocations: 51.98 kB / 0.5717 GB, free: 1.625 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.0002127/0.6313, allocations: 166.1 kB / 0.5719 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.6315, allocations: 27.72 kB / 0.5719 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.6327, allocations: 482.8 kB / 0.5724 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6327, allocations: 4 kB / 0.5724 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6327, allocations: 0 / 0.5724 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6327, allocations: 5.391 kB / 0.5724 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.6337, allocations: 0.6149 MB / 0.573 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6337, allocations: 0 / 0.573 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.6342, allocations: 86.38 kB / 0.5731 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6342, allocations: 4 kB / 0.5731 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.6342, allocations: 8.484 kB / 0.5731 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005751/0.6348, allocations: 1.18 MB / 0.5742 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6348, allocations: 0 / 0.5742 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.6354, allocations: 323.4 kB / 0.5746 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.6356, allocations: 120.8 kB / 0.5747 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.6356, allocations: 8.812 kB / 0.5747 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.6359, allocations: 15.98 kB / 0.5747 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.636, allocations: 23.92 kB / 0.5747 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.636, allocations: 15.98 kB / 0.5747 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.6362, allocations: 172.5 kB / 0.5749 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6362, allocations: 1.859 kB / 0.5749 GB, free: 14.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005771/0.642, allocations: 1.686 MB / 0.5765 GB, free: 12.53 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.009431/0.6514, allocations: 2.336 MB / 0.5788 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.6528, allocations: 318.4 kB / 0.5791 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6528, allocations: 3.938 kB / 0.5791 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.6534, allocations: 123.8 kB / 0.5793 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/0.6544, allocations: 104.3 kB / 0.5793 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5032/1.158, allocations: 140.8 MB / 0.7168 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/1.158, allocations: 0.7537 MB / 0.7176 GB, free: 164.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006208/1.159, allocations: 139.5 kB / 0.7177 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/1.159, allocations: 54.09 kB / 0.7178 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/1.159, allocations: 0 / 0.7178 GB, free: 164.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.05504/1.214, allocations: 46.89 MB / 0.7636 GB, free: 132.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