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.001146/0.001146, allocations: 113.6 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.4 MB, free: 9.105 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.12 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 73.08 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1417, allocations: 62.44 MB / 479.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03257/0.1743, allocations: 27.28 MB / 0.4949 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3593/0.5337, allocations: 11.06 MB / 0.5057 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.534, allocations: 1.562 kB / 0.5057 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.5346, allocations: 71.33 kB / 0.5058 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03221/0.5668, allocations: 8.359 MB / 0.5139 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.5683, allocations: 403.3 kB / 0.5143 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.5694, allocations: 496.1 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.5694, allocations: 15.66 kB / 0.5148 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.5699, allocations: 200.8 kB / 0.515 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/0.5835, allocations: 6.367 MB / 0.5212 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.5837, allocations: 12.69 kB / 0.5212 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03155/0.6152, allocations: 13.44 MB / 0.5343 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.6154, allocations: 85.47 kB / 0.5344 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.6158, allocations: 149.3 kB / 0.5346 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0242/0.64, allocations: 6.989 MB / 0.5414 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.64, allocations: 0 / 0.5414 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.64, allocations: 0 / 0.5414 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.6401, allocations: 4 kB / 0.5414 GB, free: 15.96 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.005617/0.6457, allocations: 1.562 MB / 0.5429 GB, free: 14.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6458, allocations: 11.97 kB / 0.5429 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.646, allocations: 33.2 kB / 0.543 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.6463, allocations: 246.6 kB / 0.5432 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.6463, allocations: 20.56 kB / 0.5432 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.6464, allocations: 30.08 kB / 0.5432 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008607/0.6473, allocations: 0.5123 MB / 0.5437 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.6473, allocations: 0 / 0.5437 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.6473, allocations: 17.23 kB / 0.5438 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.203e-05/0.6474, allocations: 28.55 kB / 0.5438 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.6485, allocations: 0.9193 MB / 0.5447 GB, free: 12.49 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.002062/0.6506, allocations: 1.901 MB / 0.5465 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.6513, allocations: 272.5 kB / 0.5468 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.6515, allocations: 105.5 kB / 0.5469 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01917/0.6707, allocations: 15.68 MB / 0.5622 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/0.6713, allocations: 253.8 kB / 0.5625 GB, free: 7.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.387e-06/0.6713, allocations: 0 / 0.5625 GB, free: 7.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.0024/0.6737, allocations: 0.7778 MB / 0.5632 GB, free: 6.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.6739, allocations: 269 kB / 0.5635 GB, free: 6.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.6741, allocations: 203.3 kB / 0.5637 GB, free: 5.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.6741, allocations: 37.55 kB / 0.5637 GB, free: 5.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.6743, allocations: 207.2 kB / 0.5639 GB, free: 5.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6744, allocations: 124.2 kB / 0.564 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.6745, allocations: 118.1 kB / 0.5641 GB, free: 5.328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6747, allocations: 334.8 kB / 0.5645 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.6749, allocations: 89.06 kB / 0.5645 GB, free: 4.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.6754, allocations: 369.5 kB / 0.5649 GB, free: 4.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.6762, allocations: 0.5054 MB / 0.5654 GB, free: 3.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6763, allocations: 0 / 0.5654 GB, free: 3.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001241/0.6775, allocations: 0.5002 MB / 0.5659 GB, free: 3.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.6776, allocations: 12 kB / 0.5659 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6776, allocations: 8 kB / 0.5659 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.167e-05/0.6776, allocations: 16.7 kB / 0.5659 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.6783, allocations: 176.6 kB / 0.5661 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006626/0.6789, allocations: 1.186 MB / 0.5672 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.6792, allocations: 35.78 kB / 0.5673 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.6793, allocations: 48.17 kB / 0.5673 GB, free: 1.758 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.0001976/0.6795, allocations: 170.7 kB / 0.5675 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.6797, allocations: 33.53 kB / 0.5675 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.6808, allocations: 490.6 kB / 0.568 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6808, allocations: 7.984 kB / 0.568 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6808, allocations: 0 / 0.568 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6808, allocations: 0 / 0.568 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000945/0.6818, allocations: 0.6155 MB / 0.5686 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6818, allocations: 0 / 0.5686 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.6822, allocations: 87.86 kB / 0.5687 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.6822, allocations: 4 kB / 0.5687 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.6822, allocations: 11.98 kB / 0.5687 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006101/0.6829, allocations: 1.169 MB / 0.5698 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6829, allocations: 6.422 kB / 0.5698 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.6835, allocations: 327.3 kB / 0.5701 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.6835, allocations: 100.8 kB / 0.5702 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.6836, allocations: 8 kB / 0.5702 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.6838, allocations: 11.98 kB / 0.5703 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.6839, allocations: 23.91 kB / 0.5703 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.6839, allocations: 16.06 kB / 0.5703 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.6841, allocations: 164.5 kB / 0.5705 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6841, allocations: 0 / 0.5705 GB, free: 14.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005887/0.69, allocations: 1.698 MB / 0.5721 GB, free: 12.66 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.00931/0.6993, allocations: 2.336 MB / 0.5744 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.7007, allocations: 333.3 kB / 0.5747 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.7008, allocations: 7.938 kB / 0.5747 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.7012, allocations: 120.7 kB / 0.5748 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.702, allocations: 107.7 kB / 0.5749 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2111/0.9131, allocations: 141.2 MB / 0.7129 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.9135, allocations: 0.7534 MB / 0.7136 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006397/0.9141, allocations: 148.8 kB / 0.7137 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.9143, allocations: 47.42 kB / 0.7138 GB, free: 3.031 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.9143, allocations: 0 / 0.7138 GB, free: 3.031 MB / 0.545 GB Notification: Performance of Templates: time 0.2871/1.201, allocations: 47.1 MB / 0.7598 GB, free: 182.6 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/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