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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001667, allocations: 103.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001898, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 81.58 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1513, allocations: 62.44 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01625/0.1676, allocations: 11.51 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.1825, allocations: 12.05 MB / 0.4912 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.1828, allocations: 0 / 0.4912 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000462/0.1834, allocations: 63.67 kB / 0.4912 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.195, allocations: 2.637 MB / 0.4938 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.1955, allocations: 143 kB / 0.4939 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008248/0.2038, allocations: 4.145 MB / 0.498 GB, free: 7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2039, allocations: 20.41 kB / 0.498 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.2044, allocations: 139.5 kB / 0.4981 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3271/0.5315, allocations: 7.556 MB / 0.5055 GB, free: 23.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.361e-05/0.5316, allocations: 7.312 kB / 0.5055 GB, free: 23.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007911/0.5396, allocations: 2.366 MB / 0.5078 GB, free: 23.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.5397, allocations: 45.05 kB / 0.5079 GB, free: 23.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.54, allocations: 123.1 kB / 0.508 GB, free: 23.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005581/0.5456, allocations: 1.719 MB / 0.5097 GB, free: 23.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5456, allocations: 0.7031 kB / 0.5097 GB, free: 23.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5456, allocations: 0 / 0.5097 GB, free: 23.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5457, allocations: 6.156 kB / 0.5097 GB, free: 23.09 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.00246/0.5481, allocations: 0.9612 MB / 0.5106 GB, free: 22.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5482, allocations: 9.875 kB / 0.5106 GB, free: 22.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.5483, allocations: 69.08 kB / 0.5107 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006175/0.5489, allocations: 77.53 kB / 0.5108 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.5491, allocations: 247.4 kB / 0.511 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.5492, allocations: 19.92 kB / 0.511 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.5492, allocations: 25.34 kB / 0.511 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009801/0.5502, allocations: 487.5 kB / 0.5115 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.5502, allocations: 2.125 kB / 0.5115 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5503, allocations: 14.55 kB / 0.5115 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.5503, allocations: 6.281 kB / 0.5115 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.5515, allocations: 0.6838 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.006781/0.5583, allocations: 3.135 MB / 0.5153 GB, free: 20.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.5589, allocations: 213.3 kB / 0.5155 GB, free: 20.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.5591, allocations: 77.48 kB / 0.5155 GB, free: 20.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07944/0.6385, allocations: 33.63 MB / 0.5484 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008749/0.6395, allocations: 351.7 kB / 0.5487 GB, free: 12.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 3.517e-06/0.6395, allocations: 0 / 0.5487 GB, free: 12.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002985/0.6425, allocations: 0.8717 MB / 0.5496 GB, free: 11.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001987/0.6427, allocations: 471.5 kB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.6429, allocations: 155 kB / 0.5502 GB, free: 11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.643, allocations: 34.8 kB / 0.5502 GB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.6431, allocations: 169.3 kB / 0.5504 GB, free: 10.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.6432, allocations: 122.7 kB / 0.5505 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.6433, allocations: 91.52 kB / 0.5506 GB, free: 10.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6435, allocations: 329.2 kB / 0.5509 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.6436, allocations: 69.83 kB / 0.5509 GB, free: 10.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.6439, allocations: 312.5 kB / 0.5512 GB, free: 9.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.6445, allocations: 441.2 kB / 0.5517 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6445, allocations: 4 kB / 0.5517 GB, free: 9.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00074/0.6452, allocations: 395.2 kB / 0.552 GB, free: 9.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.6453, allocations: 8 kB / 0.5521 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.6453, allocations: 8.094 kB / 0.5521 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6453, allocations: 22.12 kB / 0.5521 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.6473, allocations: 349.3 kB / 0.5524 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006818/0.648, allocations: 1.182 MB / 0.5536 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.6483, allocations: 28.03 kB / 0.5536 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.6484, allocations: 35.98 kB / 0.5536 GB, free: 7.445 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.0002013/0.6486, allocations: 148.7 kB / 0.5538 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.6487, allocations: 31.8 kB / 0.5538 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.6502, allocations: 0.9521 MB / 0.5547 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.6502, allocations: 15.97 kB / 0.5547 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.6502, allocations: 0 / 0.5547 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6502, allocations: 4 kB / 0.5548 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.6519, allocations: 1.418 MB / 0.5561 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.6519, allocations: 8.031 kB / 0.5561 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.653, allocations: 143.1 kB / 0.5563 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6531, allocations: 8 kB / 0.5563 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.6531, allocations: 10.38 kB / 0.5563 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000303/0.6534, allocations: 0.5889 MB / 0.5569 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6534, allocations: 11.67 kB / 0.5569 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.6541, allocations: 0.523 MB / 0.5574 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.6542, allocations: 104.8 kB / 0.5575 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/0.6543, allocations: 47.41 kB / 0.5575 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.6546, allocations: 19.89 kB / 0.5576 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.6547, allocations: 23.97 kB / 0.5576 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.6547, allocations: 8 kB / 0.5576 GB, free: 3.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003129/0.655, allocations: 275.1 kB / 0.5579 GB, free: 2.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.655, allocations: 4 kB / 0.5579 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00232/0.6574, allocations: 461.7 kB / 0.5583 GB, free: 2.457 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.0039/0.6613, allocations: 1.652 MB / 0.5599 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.6629, allocations: 394.2 kB / 0.5603 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6629, allocations: 0 / 0.5603 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007947/0.6637, allocations: 228.6 kB / 0.5605 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.6646, allocations: 114.6 kB / 0.5606 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.496/2.161, allocations: 0.5402 GB / 1.101 GB, free: 195.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/2.161, allocations: 0.8284 MB / 1.102 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005303/2.162, allocations: 165.6 kB / 1.102 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/2.162, allocations: 159.5 kB / 1.102 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/2.162, allocations: 1.406 kB / 1.102 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/2.205, allocations: 19.74 MB / 1.121 GB, free: 185.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/2.206, allocations: 261.6 kB / 1.121 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/4.867, allocations: 0 / 1.121 GB, free: 185.4 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","/var/lib/jenkins1/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