Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.11 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 76.5 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.122, allocations: 62.43 MB / 480.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01199/0.134, allocations: 11.29 MB / 492 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.1463, allocations: 11.78 MB / 0.492 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1466, allocations: 0 / 0.492 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.147, allocations: 67.5 kB / 0.492 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009576/0.1566, allocations: 3.125 MB / 0.4951 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.1571, allocations: 155 kB / 0.4952 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005878/0.163, allocations: 3.901 MB / 0.499 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.1631, allocations: 12.41 kB / 0.499 GB, free: 6.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.1634, allocations: 143.5 kB / 0.4992 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3181/0.4815, allocations: 7.113 MB / 0.5061 GB, free: 23.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4817, allocations: 12.25 kB / 0.5061 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007466/0.4891, allocations: 2.08 MB / 0.5082 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.4893, allocations: 43.91 kB / 0.5082 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.4896, allocations: 125.1 kB / 0.5083 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005337/0.4949, allocations: 1.533 MB / 0.5098 GB, free: 23.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.495, allocations: 4.344 kB / 0.5098 GB, free: 23.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.495, allocations: 0 / 0.5098 GB, free: 23.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.495, allocations: 0 / 0.5098 GB, free: 23.05 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.002722/0.4977, allocations: 0.9234 MB / 0.5107 GB, free: 22.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4978, allocations: 9.062 kB / 0.5107 GB, free: 22.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006272/0.4984, allocations: 78.06 kB / 0.5108 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.4987, allocations: 245.7 kB / 0.511 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.4988, allocations: 24.34 kB / 0.5111 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.4988, allocations: 26.66 kB / 0.5111 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4999, allocations: 484.2 kB / 0.5116 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.4999, allocations: 6.312 kB / 0.5116 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.4999, allocations: 10.78 kB / 0.5116 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4999, allocations: 7.75 kB / 0.5116 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.5012, allocations: 0.6817 MB / 0.5122 GB, free: 22.15 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.006735/0.508, allocations: 3.104 MB / 0.5153 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.5087, allocations: 222.2 kB / 0.5155 GB, free: 20.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.5088, allocations: 75.53 kB / 0.5156 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07528/0.5841, allocations: 30.76 MB / 0.5456 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007232/0.5848, allocations: 343.7 kB / 0.5459 GB, free: 112 kB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.214e-06/0.5849, allocations: 0 / 0.5459 GB, free: 112 kB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003191/0.5881, allocations: 0.9729 MB / 0.5469 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002477/0.5883, allocations: 487.3 kB / 0.5473 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.5885, allocations: 155.6 kB / 0.5475 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.5886, allocations: 34.2 kB / 0.5475 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5887, allocations: 167.2 kB / 0.5477 GB, free: 14.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5888, allocations: 126.4 kB / 0.5478 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.5889, allocations: 87.75 kB / 0.5479 GB, free: 14.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5891, allocations: 330.2 kB / 0.5482 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5892, allocations: 71.14 kB / 0.5483 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.5896, allocations: 320.7 kB / 0.5486 GB, free: 13.45 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.5901, allocations: 452.5 kB / 0.549 GB, free: 13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5902, allocations: 4 kB / 0.549 GB, free: 13 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000779/0.5909, allocations: 451.7 kB / 0.5494 GB, free: 12.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.591, allocations: 8 kB / 0.5495 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.591, allocations: 8 kB / 0.5495 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/0.593, allocations: 331.7 kB / 0.5498 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.5933, allocations: 102.7 kB / 0.5499 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007691/0.5941, allocations: 1.221 MB / 0.5511 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.5944, allocations: 15.94 kB / 0.5511 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.5944, allocations: 42.61 kB / 0.5511 GB, free: 10.95 MB / 398.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.0002159/0.5947, allocations: 156.5 kB / 0.5513 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5948, allocations: 31.72 kB / 0.5513 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.5963, allocations: 1.051 MB / 0.5523 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.5963, allocations: 15.92 kB / 0.5523 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5963, allocations: 3.938 kB / 0.5524 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.5963, allocations: 4 kB / 0.5524 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.598, allocations: 1.543 MB / 0.5539 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.598, allocations: 4 kB / 0.5539 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.5981, allocations: 43.77 kB / 0.5539 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.5994, allocations: 243.3 kB / 0.5541 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.5994, allocations: 4 kB / 0.5541 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000646/0.6001, allocations: 1.269 MB / 0.5554 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/0.6001, allocations: 12.02 kB / 0.5554 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.6008, allocations: 0.6015 MB / 0.556 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.6009, allocations: 104.8 kB / 0.5561 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.601, allocations: 51.41 kB / 0.5561 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.6012, allocations: 11.98 kB / 0.5561 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.6013, allocations: 23.97 kB / 0.5562 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.6013, allocations: 16 kB / 0.5562 GB, free: 5.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003001/0.6016, allocations: 271.1 kB / 0.5564 GB, free: 5.258 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6016, allocations: 0 / 0.5564 GB, free: 5.258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002019/0.6036, allocations: 441.5 kB / 0.5569 GB, free: 4.828 MB / 398.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.001566/0.6052, allocations: 0.6523 MB / 0.5575 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.6059, allocations: 390.4 kB / 0.5579 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.606, allocations: 0 / 0.5579 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.6062, allocations: 239.3 kB / 0.5581 GB, free: 3.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000837/0.6071, allocations: 129.9 kB / 0.5582 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.07/1.677, allocations: 0.4918 GB / 1.05 GB, free: 66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/1.677, allocations: 0.824 MB / 1.051 GB, free: 65.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.677, allocations: 43.42 kB / 1.051 GB, free: 65.12 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/1.677, allocations: 4 kB / 1.051 GB, free: 65.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.01473/1.692, allocations: 14.55 MB / 1.065 GB, free: 50.64 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches