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.001214/0.001214, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 76.53 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1325, allocations: 62.44 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03452/0.1671, allocations: 27.13 MB / 0.4959 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3282/0.4953, allocations: 11.01 MB / 0.5067 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.4956, allocations: 2.406 kB / 0.5067 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.4962, allocations: 77.28 kB / 0.5068 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03045/0.5267, allocations: 9.23 MB / 0.5158 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.5282, allocations: 435.6 kB / 0.5162 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009152/0.5291, allocations: 491.8 kB / 0.5167 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.5292, allocations: 17.06 kB / 0.5167 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.5295, allocations: 188.4 kB / 0.5169 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.5416, allocations: 6.015 MB / 0.5227 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.5418, allocations: 14.31 kB / 0.5227 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03319/0.575, allocations: 13.23 MB / 0.5357 GB, free: 5.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5752, allocations: 94.5 kB / 0.5358 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.5756, allocations: 140.3 kB / 0.5359 GB, free: 4.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02458/0.6002, allocations: 6.79 MB / 0.5425 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6003, allocations: 0 / 0.5425 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6003, allocations: 4 kB / 0.5425 GB, free: 15.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.6003, allocations: 0 / 0.5425 GB, free: 15.47 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.006667/0.607, allocations: 1.568 MB / 0.5441 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000127/0.6071, allocations: 8.031 kB / 0.5441 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.6074, allocations: 40.86 kB / 0.5441 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.6077, allocations: 242.6 kB / 0.5443 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.6078, allocations: 20.56 kB / 0.5443 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.6078, allocations: 30.03 kB / 0.5444 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.6087, allocations: 0.5084 MB / 0.5449 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6088, allocations: 0 / 0.5449 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.6088, allocations: 12 kB / 0.5449 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.9e-05/0.6089, allocations: 32.55 kB / 0.5449 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.6101, allocations: 0.9154 MB / 0.5458 GB, free: 12 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.002436/0.6126, allocations: 1.904 MB / 0.5477 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.6134, allocations: 276.6 kB / 0.5479 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.6135, allocations: 101.5 kB / 0.548 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0222/0.6357, allocations: 15.68 MB / 0.5633 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/0.6363, allocations: 253.8 kB / 0.5636 GB, free: 6.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.074e-06/0.6363, allocations: 0 / 0.5636 GB, free: 6.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002493/0.6388, allocations: 0.7806 MB / 0.5643 GB, free: 5.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.639, allocations: 273 kB / 0.5646 GB, free: 5.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.6392, allocations: 199.3 kB / 0.5648 GB, free: 5.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.6392, allocations: 41.95 kB / 0.5648 GB, free: 5.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6394, allocations: 196.8 kB / 0.565 GB, free: 5.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6395, allocations: 132 kB / 0.5651 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.6396, allocations: 118.1 kB / 0.5653 GB, free: 4.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.6399, allocations: 334.8 kB / 0.5656 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6401, allocations: 89.06 kB / 0.5657 GB, free: 4.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/0.6406, allocations: 369.5 kB / 0.566 GB, free: 3.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.6416, allocations: 0.5086 MB / 0.5665 GB, free: 3.285 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.6416, allocations: 8 kB / 0.5665 GB, free: 3.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001206/0.6428, allocations: 0.4962 MB / 0.567 GB, free: 2.777 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.6428, allocations: 11.44 kB / 0.567 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.6429, allocations: 11.98 kB / 0.567 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/0.6429, allocations: 15.94 kB / 0.567 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.6435, allocations: 183.7 kB / 0.5672 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007968/0.6443, allocations: 1.18 MB / 0.5684 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.6446, allocations: 20 kB / 0.5684 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-05/0.6447, allocations: 48.17 kB / 0.5684 GB, free: 1.27 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.0001879/0.6449, allocations: 177.5 kB / 0.5686 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.6451, allocations: 31.72 kB / 0.5686 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.6462, allocations: 490.2 kB / 0.5691 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6462, allocations: 0 / 0.5691 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6462, allocations: 4 kB / 0.5691 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6462, allocations: 3.984 kB / 0.5691 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009486/0.6472, allocations: 0.6053 MB / 0.5697 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.6472, allocations: 7.938 kB / 0.5697 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.6476, allocations: 83.88 kB / 0.5698 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6476, allocations: 0 / 0.5698 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.6476, allocations: 15.98 kB / 0.5698 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000638/0.6483, allocations: 1.168 MB / 0.5709 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.6483, allocations: 0 / 0.5709 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.6489, allocations: 327.8 kB / 0.5713 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.649, allocations: 100.8 kB / 0.5714 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.649, allocations: 11.94 kB / 0.5714 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.6493, allocations: 19.97 kB / 0.5714 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.6493, allocations: 19.91 kB / 0.5714 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.6494, allocations: 16 kB / 0.5714 GB, free: 14.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001605/0.6495, allocations: 168.5 kB / 0.5716 GB, free: 13.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6495, allocations: 0 / 0.5716 GB, free: 13.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005581/0.6551, allocations: 1.698 MB / 0.5732 GB, free: 12.16 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.008629/0.6638, allocations: 2.333 MB / 0.5755 GB, free: 10.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.6652, allocations: 324.1 kB / 0.5758 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.6652, allocations: 0 / 0.5758 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.6657, allocations: 130.9 kB / 0.576 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.6667, allocations: 108.8 kB / 0.5761 GB, free: 9.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2109/0.8776, allocations: 141.2 MB / 0.7139 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.878, allocations: 0.7573 MB / 0.7147 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.8783, allocations: 67.41 kB / 0.7147 GB, free: 2.668 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/0.8783, allocations: 0 / 0.7147 GB, free: 2.668 MB / 0.545 GB Notification: Performance of Templates: time 0.3025/1.181, allocations: 35.83 MB / 0.7497 GB, free: 192.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