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.001026/0.001026, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 71.89 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 62.44 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03523/0.1725, allocations: 27.13 MB / 0.4967 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2932/0.4657, allocations: 11.01 MB / 0.5074 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.466, allocations: 4.562 kB / 0.5074 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004921/0.4665, allocations: 78.48 kB / 0.5075 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02675/0.4933, allocations: 9.236 MB / 0.5165 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4946, allocations: 419.7 kB / 0.5169 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.4958, allocations: 497.2 kB / 0.5174 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4959, allocations: 18.19 kB / 0.5174 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.4962, allocations: 193.4 kB / 0.5176 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01384/0.5101, allocations: 6.02 MB / 0.5235 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.5103, allocations: 12.97 kB / 0.5235 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02956/0.5398, allocations: 13.42 MB / 0.5366 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.5401, allocations: 89.48 kB / 0.5367 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.5404, allocations: 143.4 kB / 0.5368 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02372/0.5641, allocations: 6.786 MB / 0.5434 GB, free: 15.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.5642, allocations: 4 kB / 0.5434 GB, free: 15.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5642, allocations: 4 kB / 0.5435 GB, free: 15.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.5642, allocations: 4 kB / 0.5435 GB, free: 15.34 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.005018/0.5692, allocations: 1.556 MB / 0.545 GB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5693, allocations: 8.031 kB / 0.545 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.5695, allocations: 33.22 kB / 0.545 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.5698, allocations: 250.6 kB / 0.5453 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.5698, allocations: 23.92 kB / 0.5453 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.5699, allocations: 24 kB / 0.5453 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.5707, allocations: 0.5126 MB / 0.5458 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5707, allocations: 4 kB / 0.5458 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.5708, allocations: 12 kB / 0.5458 GB, free: 12.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.5708, allocations: 20.56 kB / 0.5458 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.5719, allocations: 0.9193 MB / 0.5467 GB, free: 11.88 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.002188/0.5741, allocations: 1.906 MB / 0.5486 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.5749, allocations: 277.6 kB / 0.5489 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.575, allocations: 106 kB / 0.549 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01838/0.5934, allocations: 15.68 MB / 0.5643 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.594, allocations: 255.4 kB / 0.5645 GB, free: 6.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.594, allocations: 0 / 0.5645 GB, free: 6.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002163/0.5962, allocations: 0.7812 MB / 0.5653 GB, free: 5.715 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.5963, allocations: 273 kB / 0.5655 GB, free: 5.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.5965, allocations: 204.2 kB / 0.5657 GB, free: 5.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.5965, allocations: 37.95 kB / 0.5658 GB, free: 5.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.5966, allocations: 198.7 kB / 0.566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.5967, allocations: 125.6 kB / 0.5661 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.5969, allocations: 118.1 kB / 0.5662 GB, free: 4.699 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.597, allocations: 338.8 kB / 0.5665 GB, free: 4.359 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.5972, allocations: 89.06 kB / 0.5666 GB, free: 4.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.5976, allocations: 370.3 kB / 0.567 GB, free: 3.781 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.5984, allocations: 0.5099 MB / 0.5674 GB, free: 3.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.5984, allocations: 8 kB / 0.5675 GB, free: 3.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001185/0.5996, allocations: 0.4928 MB / 0.5679 GB, free: 2.641 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.5996, allocations: 8.938 kB / 0.5679 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5996, allocations: 8 kB / 0.568 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.5996, allocations: 12 kB / 0.568 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.6003, allocations: 192.5 kB / 0.5681 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006091/0.6009, allocations: 1.189 MB / 0.5693 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/0.6012, allocations: 20 kB / 0.5693 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.6012, allocations: 44.17 kB / 0.5694 GB, free: 1.129 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.0001729/0.6014, allocations: 181.5 kB / 0.5695 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6016, allocations: 31.72 kB / 0.5696 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009331/0.6025, allocations: 477.9 kB / 0.57 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6026, allocations: 4.031 kB / 0.57 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6026, allocations: 8.062 kB / 0.57 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6026, allocations: 3.984 kB / 0.57 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/0.6035, allocations: 0.5995 MB / 0.5706 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6035, allocations: 4 kB / 0.5706 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.6039, allocations: 87.23 kB / 0.5707 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6039, allocations: 4.125 kB / 0.5707 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.6039, allocations: 12 kB / 0.5707 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005334/0.6045, allocations: 1.168 MB / 0.5719 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6045, allocations: 3.844 kB / 0.5719 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.6051, allocations: 330.5 kB / 0.5722 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.6051, allocations: 96.81 kB / 0.5723 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.6052, allocations: 11.94 kB / 0.5723 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.6054, allocations: 19.98 kB / 0.5723 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.6055, allocations: 19.92 kB / 0.5723 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.6055, allocations: 15.98 kB / 0.5723 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001485/0.6057, allocations: 172.5 kB / 0.5725 GB, free: 13.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6057, allocations: 0 / 0.5725 GB, free: 13.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004698/0.6104, allocations: 1.686 MB / 0.5742 GB, free: 12.04 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.008143/0.6185, allocations: 2.336 MB / 0.5764 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.6198, allocations: 327.7 kB / 0.5768 GB, free: 9.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6198, allocations: 5.75 kB / 0.5768 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.6203, allocations: 115.8 kB / 0.5769 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.621, allocations: 113.8 kB / 0.577 GB, free: 9.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1972/0.8182, allocations: 141.2 MB / 0.7148 GB, free: 2.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.8186, allocations: 0.7456 MB / 0.7155 GB, free: 2.016 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005753/0.8192, allocations: 148.1 kB / 0.7157 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.8194, allocations: 47.42 kB / 0.7157 GB, free: 1.836 MB / 0.545 GB Notification: Performance of SimCode: time 1.392e-06/0.8194, allocations: 0 / 0.7157 GB, free: 1.836 MB / 0.545 GB Notification: Performance of Templates: time 0.3037/1.123, allocations: 47.02 MB / 0.7617 GB, free: 181.2 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 -s cvode -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