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.0009736/0.0009784, allocations: 96.42 kB / 18.01 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 208.2 kB / 18.94 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003031, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03517/0.1623, allocations: 28.17 MB / 0.4999 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2434/0.4057, allocations: 11.49 MB / 0.5111 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.406, allocations: 4.031 kB / 0.5111 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.4065, allocations: 66.86 kB / 0.5112 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0237/0.4302, allocations: 7.615 MB / 0.5186 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009944/0.4312, allocations: 394 kB / 0.519 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008779/0.4321, allocations: 0.6854 MB / 0.5197 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.4322, allocations: 19.08 kB / 0.5197 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.4325, allocations: 182.1 kB / 0.5199 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01139/0.4439, allocations: 6.304 MB / 0.526 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.444, allocations: 10.47 kB / 0.526 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02478/0.4688, allocations: 13.76 MB / 0.5395 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.4689, allocations: 89.8 kB / 0.5396 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.4692, allocations: 170 kB / 0.5397 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009718/0.4789, allocations: 4.566 MB / 0.5442 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.479, allocations: 0 / 0.5442 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.479, allocations: 0 / 0.5442 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.479, allocations: 0 / 0.5442 GB, free: 1.996 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.004314/0.4833, allocations: 1.496 MB / 0.5456 GB, free: 484 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4834, allocations: 12.88 kB / 0.5457 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.4835, allocations: 33.2 kB / 0.5457 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.4838, allocations: 246.6 kB / 0.5459 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4838, allocations: 16.56 kB / 0.5459 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.4838, allocations: 31.28 kB / 0.546 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.4847, allocations: 0.5137 MB / 0.5465 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4847, allocations: 3.938 kB / 0.5465 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.4848, allocations: 13.97 kB / 0.5465 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.4848, allocations: 24.55 kB / 0.5465 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.486, allocations: 0.9115 MB / 0.5474 GB, free: 14.62 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.002251/0.4883, allocations: 1.917 MB / 0.5493 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/0.489, allocations: 264.8 kB / 0.5495 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.4892, allocations: 106.3 kB / 0.5496 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/0.5076, allocations: 15.75 MB / 0.565 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004762/0.5081, allocations: 253 kB / 0.5652 GB, free: 9.191 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.886e-06/0.5082, allocations: 0 / 0.5652 GB, free: 9.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002263/0.5104, allocations: 0.7921 MB / 0.566 GB, free: 8.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.5106, allocations: 263.4 kB / 0.5663 GB, free: 8.062 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.5108, allocations: 203.3 kB / 0.5665 GB, free: 7.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.5108, allocations: 33.7 kB / 0.5665 GB, free: 7.816 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.511, allocations: 199.1 kB / 0.5667 GB, free: 7.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5111, allocations: 125.2 kB / 0.5668 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.5111, allocations: 53.88 kB / 0.5669 GB, free: 7.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5113, allocations: 330.8 kB / 0.5672 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.5115, allocations: 101 kB / 0.5673 GB, free: 7.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.5119, allocations: 357.6 kB / 0.5676 GB, free: 6.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/0.5127, allocations: 0.5094 MB / 0.5681 GB, free: 5.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.5127, allocations: 4 kB / 0.5681 GB, free: 5.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001227/0.5139, allocations: 0.5006 MB / 0.5686 GB, free: 5.387 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.514, allocations: 8 kB / 0.5686 GB, free: 5.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.514, allocations: 11.52 kB / 0.5686 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.514, allocations: 17.41 kB / 0.5686 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006593/0.5147, allocations: 175.6 kB / 0.5688 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/0.5154, allocations: 1.196 MB / 0.57 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.5157, allocations: 31.92 kB / 0.57 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.5158, allocations: 43.98 kB / 0.57 GB, free: 3.871 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.0001847/0.516, allocations: 177.7 kB / 0.5702 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.5161, allocations: 31.72 kB / 0.5702 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5172, allocations: 480.5 kB / 0.5707 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5172, allocations: 2.406 kB / 0.5707 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5172, allocations: 4 kB / 0.5707 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5172, allocations: 3.938 kB / 0.5707 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.5182, allocations: 0.6091 MB / 0.5713 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5182, allocations: 0 / 0.5713 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.5186, allocations: 86.45 kB / 0.5714 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.5186, allocations: 4 kB / 0.5714 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.5186, allocations: 8 kB / 0.5714 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/0.5192, allocations: 1.172 MB / 0.5725 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5192, allocations: 8.156 kB / 0.5725 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.5198, allocations: 323.3 kB / 0.5729 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.5199, allocations: 116.8 kB / 0.573 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.5199, allocations: 12 kB / 0.573 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.5202, allocations: 15.98 kB / 0.573 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.5202, allocations: 27.84 kB / 0.573 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.5203, allocations: 12 kB / 0.573 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.5204, allocations: 168.5 kB / 0.5732 GB, free: 464 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5204, allocations: 0 / 0.5732 GB, free: 464 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.004661/0.5251, allocations: 1.693 MB / 0.5748 GB, free: 14.76 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.009279/0.5344, allocations: 2.327 MB / 0.5771 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.5357, allocations: 336.4 kB / 0.5774 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5357, allocations: 0 / 0.5774 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.5362, allocations: 125.9 kB / 0.5776 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.537, allocations: 113.8 kB / 0.5777 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.443/0.9801, allocations: 140.8 MB / 0.7152 GB, free: 166 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.9803, allocations: 0.7542 MB / 0.7159 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.9806, allocations: 68.25 kB / 0.716 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/0.9806, allocations: 0 / 0.716 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.04945/1.03, allocations: 35.82 MB / 0.751 GB, free: 145 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/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