Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 104.2 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 182.9 kB / 19.33 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2183/0.2183, allocations: 44.18 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 77.03 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 60.84 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03617/0.2081, allocations: 27.02 MB / 497.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.2223, allocations: 11.02 MB / 0.4968 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.2225, allocations: 0 / 0.4968 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.223, allocations: 87.48 kB / 0.4969 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3295/0.5525, allocations: 9.221 MB / 0.5059 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.5537, allocations: 424.7 kB / 0.5063 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008535/0.5545, allocations: 490.8 kB / 0.5068 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.703e-05/0.5546, allocations: 17.09 kB / 0.5068 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.555, allocations: 190.9 kB / 0.507 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01291/0.5679, allocations: 6.016 MB / 0.5129 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.5681, allocations: 14.25 kB / 0.5129 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02809/0.5962, allocations: 13.4 MB / 0.526 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.5964, allocations: 91.2 kB / 0.5261 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.5967, allocations: 139.6 kB / 0.5262 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02175/0.6184, allocations: 6.768 MB / 0.5328 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6185, allocations: 0 / 0.5328 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.6185, allocations: 0 / 0.5328 GB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.6185, allocations: 5.641 kB / 0.5328 GB, free: 10.62 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.00505/0.6236, allocations: 1.557 MB / 0.5343 GB, free: 9.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.6236, allocations: 9.781 kB / 0.5343 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.6239, allocations: 33.69 kB / 0.5344 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.6242, allocations: 245.6 kB / 0.5346 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.6243, allocations: 21.25 kB / 0.5346 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.6243, allocations: 30.8 kB / 0.5347 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.6251, allocations: 0.508 MB / 0.5352 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.6252, allocations: 0 / 0.5352 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.6252, allocations: 18.47 kB / 0.5352 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.483e-05/0.6253, allocations: 24.58 kB / 0.5352 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.6263, allocations: 0.9117 MB / 0.5361 GB, free: 8.445 MB / 382.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.001702/0.628, allocations: 1.908 MB / 0.538 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.6287, allocations: 267.3 kB / 0.5382 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.6288, allocations: 101.5 kB / 0.5383 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/0.6473, allocations: 15.68 MB / 0.5536 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005223/0.6479, allocations: 254.8 kB / 0.5539 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.6479, allocations: 0 / 0.5539 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002241/0.6502, allocations: 0.7817 MB / 0.5546 GB, free: 2.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6503, allocations: 268.8 kB / 0.5549 GB, free: 2.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.6505, allocations: 195.8 kB / 0.5551 GB, free: 1.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.6506, allocations: 37.95 kB / 0.5551 GB, free: 1.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.6507, allocations: 202.7 kB / 0.5553 GB, free: 1.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.6508, allocations: 123.2 kB / 0.5554 GB, free: 1.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.651, allocations: 118.1 kB / 0.5555 GB, free: 1.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6511, allocations: 334.8 kB / 0.5558 GB, free: 1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.6513, allocations: 93.06 kB / 0.5559 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.6518, allocations: 370.1 kB / 0.5563 GB, free: 436 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.6526, allocations: 0.5086 MB / 0.5568 GB, free: 15.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.6526, allocations: 4.938 kB / 0.5568 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00125/0.6539, allocations: 0.4996 MB / 0.5573 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.6539, allocations: 8 kB / 0.5573 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.654, allocations: 12.88 kB / 0.5573 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.654, allocations: 15.98 kB / 0.5573 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.6547, allocations: 180.4 kB / 0.5575 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/0.6555, allocations: 1.189 MB / 0.5586 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.6558, allocations: 23.94 kB / 0.5587 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.6559, allocations: 48.17 kB / 0.5587 GB, free: 13.88 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.0002354/0.6561, allocations: 175.4 kB / 0.5589 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.6563, allocations: 31.72 kB / 0.5589 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.6574, allocations: 480.4 kB / 0.5594 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.6574, allocations: 4 kB / 0.5594 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.6574, allocations: 5.125 kB / 0.5594 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6575, allocations: 3.984 kB / 0.5594 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6586, allocations: 0.6113 MB / 0.56 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6586, allocations: 0.5 kB / 0.56 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.659, allocations: 81.91 kB / 0.5601 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.659, allocations: 11.88 kB / 0.5601 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.659, allocations: 7.984 kB / 0.5601 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006598/0.6597, allocations: 1.172 MB / 0.5612 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6597, allocations: 4.031 kB / 0.5612 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.6603, allocations: 319.2 kB / 0.5615 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.6604, allocations: 103.8 kB / 0.5616 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.6605, allocations: 11.91 kB / 0.5616 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.6607, allocations: 19.36 kB / 0.5617 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.6608, allocations: 24.66 kB / 0.5617 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.6608, allocations: 16 kB / 0.5617 GB, free: 10.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.661, allocations: 164.5 kB / 0.5619 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.661, allocations: 0 / 0.5619 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00558/0.6666, allocations: 1.684 MB / 0.5635 GB, free: 8.84 MB / 414.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.007945/0.6745, allocations: 2.324 MB / 0.5658 GB, free: 6.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.6757, allocations: 323.1 kB / 0.5661 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.6757, allocations: 7.656 kB / 0.5661 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.6761, allocations: 125.8 kB / 0.5662 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.6769, allocations: 106.8 kB / 0.5663 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.234/0.9109, allocations: 140.9 MB / 0.7039 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.9113, allocations: 0.7495 MB / 0.7046 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000531/0.9118, allocations: 145.4 kB / 0.7048 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.912, allocations: 51.97 kB / 0.7048 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/0.912, allocations: 1.312 kB / 0.7048 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of Templates: time 0.2775/1.19, allocations: 46.81 MB / 0.7505 GB, free: 173.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches