Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 112.6 kB / 18.45 MB, free: 4.621 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.001171/0.001171, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.28/1.28, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1996/0.1996, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 471.3 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4038, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.0131/0.4169, allocations: 11.24 MB / 0.5306 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.4302, allocations: 11.77 MB / 0.5421 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.4305, allocations: 1.062 kB / 0.5421 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.4311, allocations: 74.8 kB / 0.5422 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0131/0.4442, allocations: 3.117 MB / 0.5452 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.4447, allocations: 146.9 kB / 0.5453 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006533/0.4512, allocations: 3.908 MB / 0.5492 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.4513, allocations: 13.44 kB / 0.5492 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.4515, allocations: 145 kB / 0.5493 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009409/0.4609, allocations: 7.127 MB / 0.5563 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.284e-05/0.4611, allocations: 8 kB / 0.5563 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006001/0.4671, allocations: 2.107 MB / 0.5583 GB, free: 4.293 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.4672, allocations: 51.75 kB / 0.5584 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.4674, allocations: 123.4 kB / 0.5585 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003982/0.4714, allocations: 1.54 MB / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4714, allocations: 0 / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4714, allocations: 0 / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4715, allocations: 0 / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002069/0.4735, allocations: 0.9205 MB / 0.5609 GB, free: 1.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4736, allocations: 12.03 kB / 0.5609 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.4742, allocations: 76.59 kB / 0.561 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.4745, allocations: 244 kB / 0.5612 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4746, allocations: 20.94 kB / 0.5612 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.4746, allocations: 24.38 kB / 0.5613 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.4756, allocations: 485.6 kB / 0.5617 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4756, allocations: 0 / 0.5617 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.4756, allocations: 15.98 kB / 0.5617 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.4756, allocations: 8 kB / 0.5617 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4767, allocations: 0.6774 MB / 0.5624 GB, free: 15.99 MB / 430.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.006127/0.4828, allocations: 3.114 MB / 0.5655 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.4835, allocations: 215.3 kB / 0.5657 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4836, allocations: 77.39 kB / 0.5657 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07922/0.5628, allocations: 30.76 MB / 0.5958 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008022/0.5637, allocations: 346 kB / 0.5961 GB, free: 10.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 4.418e-06/0.5637, allocations: 0 / 0.5961 GB, free: 10.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=37): time 0.003156/0.5669, allocations: 0.9715 MB / 0.597 GB, free: 9.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.5671, allocations: 487 kB / 0.5975 GB, free: 9.277 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5672, allocations: 164 kB / 0.5977 GB, free: 9.109 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.5673, allocations: 29.7 kB / 0.5977 GB, free: 9.074 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.5674, allocations: 160 kB / 0.5978 GB, free: 8.914 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.5675, allocations: 130.1 kB / 0.598 GB, free: 8.785 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.5676, allocations: 94.14 kB / 0.5981 GB, free: 8.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5678, allocations: 326.8 kB / 0.5984 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5679, allocations: 81.08 kB / 0.5984 GB, free: 8.281 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.5682, allocations: 314.1 kB / 0.5987 GB, free: 7.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.5687, allocations: 456 kB / 0.5992 GB, free: 7.293 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.5687, allocations: 4 kB / 0.5992 GB, free: 7.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007582/0.5695, allocations: 442.8 kB / 0.5996 GB, free: 6.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5695, allocations: 8 kB / 0.5996 GB, free: 6.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5695, allocations: 8 kB / 0.5996 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.5715, allocations: 321.9 kB / 0.5999 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.5718, allocations: 107.8 kB / 0.6 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006688/0.5725, allocations: 1.219 MB / 0.6012 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.5728, allocations: 20 kB / 0.6012 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.5728, allocations: 31.98 kB / 0.6013 GB, free: 5.086 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.573, allocations: 161.5 kB / 0.6014 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5731, allocations: 35.7 kB / 0.6015 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.5744, allocations: 1.037 MB / 0.6025 GB, free: 3.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.5744, allocations: 12 kB / 0.6025 GB, free: 3.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5744, allocations: 3.938 kB / 0.6025 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5744, allocations: 7.984 kB / 0.6025 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.5759, allocations: 1.549 MB / 0.604 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.576, allocations: 11.92 kB / 0.604 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.5761, allocations: 39.92 kB / 0.6041 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.5774, allocations: 241.5 kB / 0.6043 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.5774, allocations: 8 kB / 0.6043 GB, free: 1.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006118/0.578, allocations: 1.273 MB / 0.6055 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.578, allocations: 4.125 kB / 0.6055 GB, free: 468 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.5787, allocations: 0.6104 MB / 0.6061 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.5788, allocations: 108.8 kB / 0.6062 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.5789, allocations: 43.47 kB / 0.6063 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.5792, allocations: 15.98 kB / 0.6063 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.5792, allocations: 19.97 kB / 0.6063 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.5792, allocations: 16 kB / 0.6063 GB, free: 15.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002802/0.5795, allocations: 271.1 kB / 0.6066 GB, free: 15.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5795, allocations: 0 / 0.6066 GB, free: 15.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001343/0.5809, allocations: 443.6 kB / 0.607 GB, free: 14.88 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.5825, allocations: 0.6469 MB / 0.6076 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000645/0.5831, allocations: 383.8 kB / 0.608 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.5832, allocations: 0 / 0.608 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.5834, allocations: 234.2 kB / 0.6082 GB, free: 13.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007976/0.5843, allocations: 130.3 kB / 0.6084 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.167/1.752, allocations: 0.4918 GB / 1.1 GB, free: 63.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/1.752, allocations: 0.8274 MB / 1.101 GB, free: 62.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.752, allocations: 43.42 kB / 1.101 GB, free: 62.87 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/1.752, allocations: 0.875 kB / 1.101 GB, free: 62.87 MB / 0.5919 GB Notification: Performance of Templates: time 0.01374/1.766, allocations: 14.58 MB / 1.115 GB, free: 48.34 MB / 0.5919 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches