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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 226.7 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 105.5 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3623/0.3623, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 63.91 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3787, allocations: 62.01 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02732/0.4061, allocations: 28.87 MB / 0.5434 GB, free: 18.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.4193, allocations: 11.71 MB / 0.5548 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.4196, allocations: 5.406 kB / 0.5548 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.4201, allocations: 68.89 kB / 0.5549 GB, free: 10.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02441/0.4445, allocations: 7.607 MB / 0.5623 GB, free: 5.766 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009705/0.4455, allocations: 394.5 kB / 0.5627 GB, free: 5.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007941/0.4463, allocations: 0.6908 MB / 0.5633 GB, free: 5.141 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.829e-05/0.4464, allocations: 26.44 kB / 0.5634 GB, free: 5.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002789/0.4467, allocations: 189 kB / 0.5635 GB, free: 5.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.4584, allocations: 6.293 MB / 0.5697 GB, free: 1.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.4586, allocations: 12 kB / 0.5697 GB, free: 1.637 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0265/0.4851, allocations: 13.76 MB / 0.5831 GB, free: 3.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4853, allocations: 95.69 kB / 0.5832 GB, free: 3.762 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.4855, allocations: 139.4 kB / 0.5834 GB, free: 3.625 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/0.5095, allocations: 6.978 MB / 0.5902 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5096, allocations: 0 / 0.5902 GB, free: 12.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5096, allocations: 0 / 0.5902 GB, free: 12.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.5096, allocations: 0 / 0.5902 GB, free: 12.63 MB / 410.7 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.004837/0.5145, allocations: 1.559 MB / 0.5917 GB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5145, allocations: 12.03 kB / 0.5917 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.5148, allocations: 39.77 kB / 0.5918 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.515, allocations: 246.7 kB / 0.592 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5151, allocations: 16.56 kB / 0.592 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.5151, allocations: 28 kB / 0.592 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007914/0.5159, allocations: 0.513 MB / 0.5925 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5159, allocations: 3.938 kB / 0.5925 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.516, allocations: 12 kB / 0.5925 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.516, allocations: 32.42 kB / 0.5926 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5171, allocations: 0.9115 MB / 0.5935 GB, free: 9.148 MB / 410.7 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.001974/0.5191, allocations: 1.91 MB / 0.5953 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007184/0.5198, allocations: 270.2 kB / 0.5956 GB, free: 6.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.52, allocations: 105.5 kB / 0.5957 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01773/0.5377, allocations: 15.68 MB / 0.611 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.5383, allocations: 245.1 kB / 0.6112 GB, free: 3.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.887e-06/0.5383, allocations: 3.984 kB / 0.6112 GB, free: 3.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002148/0.5405, allocations: 0.7708 MB / 0.612 GB, free: 2.941 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.5406, allocations: 265 kB / 0.6123 GB, free: 2.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.5408, allocations: 206.9 kB / 0.6124 GB, free: 2.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.5409, allocations: 33.7 kB / 0.6125 GB, free: 2.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.541, allocations: 203.4 kB / 0.6127 GB, free: 2.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.5411, allocations: 130.1 kB / 0.6128 GB, free: 2.039 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.5412, allocations: 118.1 kB / 0.6129 GB, free: 1.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5414, allocations: 338.8 kB / 0.6132 GB, free: 1.578 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5415, allocations: 104.9 kB / 0.6133 GB, free: 1.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.542, allocations: 361.6 kB / 0.6137 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.5427, allocations: 0.5112 MB / 0.6142 GB, free: 360 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5427, allocations: 0 / 0.6142 GB, free: 360 kB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00117/0.5439, allocations: 0.5019 MB / 0.6147 GB, free: 15.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5439, allocations: 12 kB / 0.6147 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.5439, allocations: 8 kB / 0.6147 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.544, allocations: 15.94 kB / 0.6147 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.5446, allocations: 171.8 kB / 0.6149 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006944/0.5453, allocations: 1.192 MB / 0.616 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.5456, allocations: 31.83 kB / 0.6161 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.5457, allocations: 47.98 kB / 0.6161 GB, free: 14.32 MB / 442.7 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.0001899/0.5459, allocations: 170.7 kB / 0.6163 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.546, allocations: 31.81 kB / 0.6163 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.5471, allocations: 485.8 kB / 0.6168 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.5471, allocations: 8.031 kB / 0.6168 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5471, allocations: 0 / 0.6168 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5471, allocations: 3.938 kB / 0.6168 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.5481, allocations: 0.5953 MB / 0.6174 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5481, allocations: 0 / 0.6174 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.5485, allocations: 87.91 kB / 0.6174 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.5485, allocations: 12.06 kB / 0.6175 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.5485, allocations: 7.938 kB / 0.6175 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005388/0.5491, allocations: 1.168 MB / 0.6186 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5491, allocations: 8.031 kB / 0.6186 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5504, allocations: 1.023 MB / 0.6196 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.169e-05/0.5505, allocations: 100.9 kB / 0.6197 GB, free: 10.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/0.5506, allocations: 11.94 kB / 0.6197 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5508, allocations: 11.98 kB / 0.6197 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.5509, allocations: 19.97 kB / 0.6197 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.5509, allocations: 16 kB / 0.6198 GB, free: 10.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.5511, allocations: 164.5 kB / 0.6199 GB, free: 10.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5511, allocations: 0 / 0.6199 GB, free: 10.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005729/0.5568, allocations: 1.749 MB / 0.6216 GB, free: 8.43 MB / 442.7 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.008005/0.5648, allocations: 2.34 MB / 0.6239 GB, free: 6.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.566, allocations: 324.2 kB / 0.6242 GB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.566, allocations: 0 / 0.6242 GB, free: 5.777 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.5664, allocations: 124.3 kB / 0.6243 GB, free: 5.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.5672, allocations: 112.3 kB / 0.6244 GB, free: 5.547 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4585/1.026, allocations: 141.4 MB / 0.7625 GB, free: 75.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/1.026, allocations: 0.7627 MB / 0.7633 GB, free: 75.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006996/1.027, allocations: 145.8 kB / 0.7634 GB, free: 74.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/1.027, allocations: 51.42 kB / 0.7635 GB, free: 74.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/1.027, allocations: 0 / 0.7635 GB, free: 74.88 MB / 490.7 MB Notification: Performance of Templates: time 0.05512/1.082, allocations: 47.01 MB / 0.8094 GB, free: 27.97 MB / 490.7 MB 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches