Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001065, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2562/0.2562, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002213, allocations: 87 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1521, allocations: 62.44 MB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01477/0.1669, allocations: 11.28 MB / 491.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1802, allocations: 11.78 MB / 0.4914 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.1806, allocations: 0 / 0.4914 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004111/0.1811, allocations: 71.48 kB / 0.4914 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.1924, allocations: 3.129 MB / 0.4945 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.1929, allocations: 150.4 kB / 0.4946 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006029/0.1989, allocations: 3.901 MB / 0.4984 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.199, allocations: 20.39 kB / 0.4984 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.1993, allocations: 139.5 kB / 0.4986 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3119/0.5113, allocations: 7.117 MB / 0.5055 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.76e-05/0.5114, allocations: 12.25 kB / 0.5055 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00779/0.5192, allocations: 2.349 MB / 0.5078 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.5194, allocations: 43.98 kB / 0.5079 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002959/0.5197, allocations: 129.2 kB / 0.508 GB, free: 22.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007291/0.527, allocations: 1.71 MB / 0.5097 GB, free: 22.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5271, allocations: 5.031 kB / 0.5097 GB, free: 22.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5271, allocations: 0.7031 kB / 0.5097 GB, free: 22.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.5271, allocations: 0 / 0.5097 GB, free: 22.86 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.003059/0.5302, allocations: 0.9638 MB / 0.5106 GB, free: 22.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5302, allocations: 11.06 kB / 0.5106 GB, free: 22.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006291/0.5309, allocations: 78.5 kB / 0.5107 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.5311, allocations: 244.9 kB / 0.5109 GB, free: 22.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.5312, allocations: 22.56 kB / 0.511 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.5312, allocations: 25.88 kB / 0.511 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.5323, allocations: 481.7 kB / 0.5114 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5323, allocations: 5.031 kB / 0.5114 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.5323, allocations: 18.61 kB / 0.5115 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.5323, allocations: 6.5 kB / 0.5115 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.5336, allocations: 0.6832 MB / 0.5121 GB, free: 21.94 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.007386/0.541, allocations: 3.135 MB / 0.5152 GB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00079/0.5418, allocations: 212.7 kB / 0.5154 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.542, allocations: 76.41 kB / 0.5155 GB, free: 20.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07993/0.6219, allocations: 33.64 MB / 0.5483 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.6229, allocations: 341.5 kB / 0.5487 GB, free: 12.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.746e-06/0.6229, allocations: 4 kB / 0.5487 GB, free: 12.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002695/0.6256, allocations: 0.8609 MB / 0.5495 GB, free: 11.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002504/0.6259, allocations: 480 kB / 0.55 GB, free: 11.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.626, allocations: 157.9 kB / 0.5501 GB, free: 10.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.6261, allocations: 29.95 kB / 0.5501 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6262, allocations: 165.4 kB / 0.5503 GB, free: 10.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.6263, allocations: 127.2 kB / 0.5504 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.6265, allocations: 96.34 kB / 0.5505 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6266, allocations: 330.8 kB / 0.5508 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.6267, allocations: 65.08 kB / 0.5509 GB, free: 10.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.6271, allocations: 312.4 kB / 0.5512 GB, free: 9.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.6276, allocations: 435.3 kB / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6276, allocations: 4 kB / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006776/0.6283, allocations: 402.4 kB / 0.552 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.6283, allocations: 15.94 kB / 0.552 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6283, allocations: 8 kB / 0.552 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.6284, allocations: 12.78 kB / 0.552 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.6302, allocations: 341.6 kB / 0.5523 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006689/0.6309, allocations: 1.19 MB / 0.5535 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.6312, allocations: 27.84 kB / 0.5535 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.6312, allocations: 30.84 kB / 0.5536 GB, free: 7.234 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 (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.0001853/0.6314, allocations: 164.3 kB / 0.5537 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/0.6315, allocations: 19.81 kB / 0.5537 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6328, allocations: 0.9508 MB / 0.5547 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6328, allocations: 8.688 kB / 0.5547 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.6329, allocations: 8.203 kB / 0.5547 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6329, allocations: 4 kB / 0.5547 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.6344, allocations: 1.418 MB / 0.5561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6344, allocations: 0 / 0.5561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.6355, allocations: 155.6 kB / 0.5562 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6355, allocations: 4 kB / 0.5562 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6355, allocations: 12 kB / 0.5562 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003465/0.6359, allocations: 0.5934 MB / 0.5568 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.6359, allocations: 4 kB / 0.5568 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.6365, allocations: 0.5189 MB / 0.5573 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.6366, allocations: 104.8 kB / 0.5574 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.6367, allocations: 51.41 kB / 0.5575 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.6369, allocations: 15.98 kB / 0.5575 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.637, allocations: 23.64 kB / 0.5575 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.637, allocations: 15.98 kB / 0.5575 GB, free: 2.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.6373, allocations: 271.1 kB / 0.5578 GB, free: 2.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6373, allocations: 0 / 0.5578 GB, free: 2.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002123/0.6394, allocations: 462.2 kB / 0.5582 GB, free: 2.258 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 (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.001698/0.6412, allocations: 0.6888 MB / 0.5589 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.6428, allocations: 420.2 kB / 0.5593 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6428, allocations: 0 / 0.5593 GB, free: 1.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.6436, allocations: 227.1 kB / 0.5595 GB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.6444, allocations: 121.4 kB / 0.5596 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.374/2.019, allocations: 0.5369 GB / 1.097 GB, free: 198.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/2.019, allocations: 0.8261 MB / 1.097 GB, free: 198 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006409/2.02, allocations: 166.2 kB / 1.097 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/2.02, allocations: 38.2 kB / 1.098 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/2.02, allocations: 0 / 1.098 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.0246/2.045, allocations: 15.73 MB / 1.113 GB, free: 191.9 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches