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.001685/0.001685, allocations: 110.6 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.198/2.198, allocations: 227.3 MB / 246.9 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3708/0.3708, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 78.59 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2075, allocations: 62.44 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.05423/0.2618, allocations: 28.92 MB / 0.4969 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4634/0.7253, allocations: 11.69 MB / 0.5084 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.7257, allocations: 2.25 kB / 0.5084 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.7264, allocations: 77.41 kB / 0.5084 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03991/0.7663, allocations: 7.608 MB / 0.5159 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.7681, allocations: 399.8 kB / 0.5162 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.7698, allocations: 0.6862 MB / 0.5169 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.7699, allocations: 15.53 kB / 0.5169 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.7703, allocations: 182.2 kB / 0.5171 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01907/0.7894, allocations: 6.306 MB / 0.5233 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.7896, allocations: 8.656 kB / 0.5233 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03979/0.8294, allocations: 13.76 MB / 0.5367 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.8297, allocations: 85.8 kB / 0.5368 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004214/0.8301, allocations: 141.3 kB / 0.5369 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.8466, allocations: 4.596 MB / 0.5414 GB, free: 2.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.8467, allocations: 4 kB / 0.5414 GB, free: 2.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8467, allocations: 0 / 0.5414 GB, free: 2.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.8467, allocations: 0 / 0.5414 GB, free: 2.434 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.006681/0.8534, allocations: 1.558 MB / 0.5429 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/0.8535, allocations: 12.88 kB / 0.5429 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002979/0.8538, allocations: 31.66 kB / 0.543 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.8541, allocations: 246.6 kB / 0.5432 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.8542, allocations: 20.56 kB / 0.5432 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.8542, allocations: 24 kB / 0.5432 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.8553, allocations: 0.5182 MB / 0.5438 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.8554, allocations: 3.984 kB / 0.5438 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.8554, allocations: 12 kB / 0.5438 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.8555, allocations: 24.5 kB / 0.5438 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.8573, allocations: 0.9155 MB / 0.5447 GB, free: 14.97 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.003085/0.8605, allocations: 1.912 MB / 0.5466 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.8616, allocations: 270.6 kB / 0.5468 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.8618, allocations: 103.1 kB / 0.5469 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02728/0.8891, allocations: 15.69 MB / 0.5622 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.8899, allocations: 245 kB / 0.5625 GB, free: 9.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.966e-06/0.89, allocations: 0 / 0.5625 GB, free: 9.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003295/0.8933, allocations: 0.7816 MB / 0.5632 GB, free: 8.816 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.8935, allocations: 269 kB / 0.5635 GB, free: 8.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.8938, allocations: 208.2 kB / 0.5637 GB, free: 8.281 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.8939, allocations: 29.7 kB / 0.5637 GB, free: 8.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.8941, allocations: 203.5 kB / 0.5639 GB, free: 8.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.8942, allocations: 124.6 kB / 0.564 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.8945, allocations: 118 kB / 0.5641 GB, free: 7.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.8947, allocations: 342.5 kB / 0.5645 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.895, allocations: 89.06 kB / 0.5646 GB, free: 7.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.8958, allocations: 369.5 kB / 0.5649 GB, free: 6.887 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.897, allocations: 0.5094 MB / 0.5654 GB, free: 6.258 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.897, allocations: 11.88 kB / 0.5654 GB, free: 6.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00183/0.8988, allocations: 0.4968 MB / 0.5659 GB, free: 5.742 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.8989, allocations: 8 kB / 0.5659 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.8989, allocations: 14.86 kB / 0.5659 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.64e-05/0.899, allocations: 16.77 kB / 0.5659 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.9, allocations: 174.9 kB / 0.5661 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.9012, allocations: 1.188 MB / 0.5673 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.9017, allocations: 35.84 kB / 0.5673 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.9018, allocations: 48.17 kB / 0.5673 GB, free: 4.223 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.0003438/0.9022, allocations: 169.5 kB / 0.5675 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/0.9025, allocations: 31.81 kB / 0.5675 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.9039, allocations: 492.9 kB / 0.568 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.904, allocations: 0 / 0.568 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.904, allocations: 4 kB / 0.568 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.904, allocations: 0 / 0.568 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.9054, allocations: 0.6087 MB / 0.5686 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.9054, allocations: 0 / 0.5686 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.906, allocations: 84.64 kB / 0.5687 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.906, allocations: 4 kB / 0.5687 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.9061, allocations: 11.98 kB / 0.5687 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009001/0.907, allocations: 1.168 MB / 0.5698 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.907, allocations: 0 / 0.5698 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.9079, allocations: 327.4 kB / 0.5702 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.908, allocations: 100.8 kB / 0.5702 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.9081, allocations: 10.88 kB / 0.5703 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.9084, allocations: 11.98 kB / 0.5703 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.9085, allocations: 23.91 kB / 0.5703 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.9086, allocations: 15.94 kB / 0.5703 GB, free: 1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.9088, allocations: 168.5 kB / 0.5705 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9088, allocations: 0 / 0.5705 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.008215/0.9171, allocations: 1.702 MB / 0.5721 GB, free: 15.13 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.01372/0.9308, allocations: 2.329 MB / 0.5744 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.9326, allocations: 335.6 kB / 0.5747 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.9327, allocations: 0 / 0.5747 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.9333, allocations: 124.5 kB / 0.5748 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.9345, allocations: 104.4 kB / 0.5749 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.329/1.263, allocations: 141.2 MB / 0.7129 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/1.264, allocations: 0.7572 MB / 0.7136 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.265, allocations: 71.39 kB / 0.7137 GB, free: 4.074 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.265, allocations: 0 / 0.7137 GB, free: 4.074 MB / 0.545 GB Notification: Performance of Templates: time 0.4675/1.732, allocations: 35.84 MB / 0.7487 GB, free: 194.7 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