Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,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_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009326, allocations: 94.8 kB / 17.35 MB, free: 6.344 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.001114/0.001115, allocations: 170.9 kB / 18.25 MB, free: 5.508 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.522/1.522, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.2295/0.2295, allocations: 44.25 MB / 337.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 8 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 61.94 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01303/0.1699, allocations: 10.96 MB / 483.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1839, allocations: 11.84 MB / 495.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.1843, allocations: 0 / 495.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.1848, allocations: 63.67 kB / 495.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.1978, allocations: 2.633 MB / 497.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.1983, allocations: 149.6 kB / 497.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006748/0.2051, allocations: 4.153 MB / 0.4903 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.2052, allocations: 12.41 kB / 0.4903 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.2054, allocations: 139.5 kB / 0.4904 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/0.2167, allocations: 7.571 MB / 0.4978 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.052e-05/0.2168, allocations: 4 kB / 0.4978 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007727/0.2246, allocations: 2.361 MB / 0.5001 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.2247, allocations: 43.77 kB / 0.5002 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.225, allocations: 149.1 kB / 0.5003 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006172/0.2312, allocations: 1.711 MB / 0.502 GB, free: 3.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2312, allocations: 0 / 0.502 GB, free: 3.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2313, allocations: 0 / 0.502 GB, free: 3.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.2313, allocations: 0 / 0.502 GB, free: 3.43 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002752/0.234, allocations: 0.8994 MB / 0.5029 GB, free: 2.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2341, allocations: 8.031 kB / 0.5029 GB, free: 2.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.2347, allocations: 84.58 kB / 0.503 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.2351, allocations: 252 kB / 0.5032 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.2351, allocations: 16.94 kB / 0.5032 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.2352, allocations: 28.38 kB / 0.5032 GB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2362, allocations: 489.6 kB / 0.5037 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.2363, allocations: 7.875 kB / 0.5037 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.2363, allocations: 12 kB / 0.5037 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2363, allocations: 8 kB / 0.5037 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2375, allocations: 0.6812 MB / 0.5044 GB, free: 0.8438 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.3203/0.5578, allocations: 3.105 MB / 0.5074 GB, free: 48.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/0.5587, allocations: 217.2 kB / 0.5076 GB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.5588, allocations: 79.23 kB / 0.5077 GB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08048/0.6393, allocations: 33.48 MB / 0.5404 GB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006881/0.6401, allocations: 347 kB / 0.5407 GB, free: 24.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.194e-06/0.6401, allocations: 0 / 0.5407 GB, free: 24.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002404/0.6425, allocations: 0.8558 MB / 0.5416 GB, free: 23.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.6426, allocations: 482.3 kB / 0.542 GB, free: 23.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6428, allocations: 166.7 kB / 0.5422 GB, free: 23.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6428, allocations: 37.7 kB / 0.5422 GB, free: 23.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.6429, allocations: 161.4 kB / 0.5424 GB, free: 23.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.6429, allocations: 129.2 kB / 0.5425 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.643, allocations: 45.69 kB / 0.5426 GB, free: 22.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.6431, allocations: 326.8 kB / 0.5429 GB, free: 22.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.6432, allocations: 65.08 kB / 0.5429 GB, free: 22.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.6434, allocations: 310.1 kB / 0.5432 GB, free: 22.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.6437, allocations: 434.5 kB / 0.5436 GB, free: 21.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6437, allocations: 7.938 kB / 0.5436 GB, free: 21.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000524/0.6443, allocations: 393.5 kB / 0.544 GB, free: 21.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6443, allocations: 8.156 kB / 0.544 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6443, allocations: 12 kB / 0.544 GB, free: 21.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.6444, allocations: 15.94 kB / 0.5441 GB, free: 21.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6459, allocations: 267.1 kB / 0.5443 GB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004147/0.6464, allocations: 1.184 MB / 0.5455 GB, free: 19.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.6466, allocations: 31.78 kB / 0.5455 GB, free: 19.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.6467, allocations: 31.98 kB / 0.5455 GB, free: 19.51 MB / 382.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 (55): * Single equations (assignments): 53 * 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.0001386/0.6468, allocations: 155.9 kB / 0.5457 GB, free: 19.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.6469, allocations: 24.47 kB / 0.5457 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.648, allocations: 0.9469 MB / 0.5466 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.648, allocations: 11.92 kB / 0.5466 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.648, allocations: 4 kB / 0.5466 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.648, allocations: 0 / 0.5466 GB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.6491, allocations: 1.425 MB / 0.548 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6491, allocations: 3.469 kB / 0.548 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.6501, allocations: 155.8 kB / 0.5482 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.6501, allocations: 7.938 kB / 0.5482 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.6501, allocations: 15.98 kB / 0.5482 GB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001743/0.6503, allocations: 0.5821 MB / 0.5488 GB, free: 16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.6503, allocations: 12.03 kB / 0.5488 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.6508, allocations: 0.5022 MB / 0.5493 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.6509, allocations: 220 kB / 0.5495 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.651, allocations: 8 kB / 0.5495 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.6512, allocations: 18.98 kB / 0.5495 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.6513, allocations: 31.91 kB / 0.5495 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.6513, allocations: 10.56 kB / 0.5495 GB, free: 15.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.6515, allocations: 275.1 kB / 0.5498 GB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6515, allocations: 0 / 0.5498 GB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001445/0.653, allocations: 459.4 kB / 0.5502 GB, free: 14.44 MB / 382.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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.6544, allocations: 0.6999 MB / 0.5509 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.6557, allocations: 406.3 kB / 0.5513 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/0.6557, allocations: 0 / 0.5513 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.6564, allocations: 226.2 kB / 0.5515 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.6573, allocations: 125.7 kB / 0.5517 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.505/2.162, allocations: 0.5351 GB / 1.087 GB, free: 188.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/2.163, allocations: 0.8271 MB / 1.088 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000469/2.163, allocations: 166.9 kB / 1.088 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/2.163, allocations: 38.64 kB / 1.088 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/2.163, allocations: 0 / 1.088 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.02219/2.185, allocations: 15.44 MB / 1.103 GB, free: 180.7 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches