Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001638, allocations: 78 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1214, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01382/0.1353, allocations: 11.28 MB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.1477, allocations: 11.72 MB / 0.4908 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.1481, allocations: 4 kB / 0.4908 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.1484, allocations: 59.67 kB / 0.4909 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01167/0.1601, allocations: 2.781 MB / 0.4936 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.1605, allocations: 142.2 kB / 0.4937 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008687/0.1692, allocations: 4.196 MB / 0.4978 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1693, allocations: 20.39 kB / 0.4978 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.1697, allocations: 139.5 kB / 0.498 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2802/0.45, allocations: 7.718 MB / 0.5055 GB, free: 23.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.412e-05/0.4501, allocations: 9.094 kB / 0.5055 GB, free: 23.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005801/0.4559, allocations: 2.14 MB / 0.5076 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.456, allocations: 46 kB / 0.5077 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.4562, allocations: 127.6 kB / 0.5078 GB, free: 23.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00413/0.4604, allocations: 1.55 MB / 0.5093 GB, free: 23.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4604, allocations: 5.094 kB / 0.5093 GB, free: 23.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4604, allocations: 0 / 0.5093 GB, free: 23.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4604, allocations: 0 / 0.5093 GB, free: 23.52 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.002442/0.4629, allocations: 0.9217 MB / 0.5102 GB, free: 22.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4629, allocations: 15.3 kB / 0.5102 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.885e-05/0.463, allocations: 63.94 kB / 0.5103 GB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.4636, allocations: 78.36 kB / 0.5103 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.4639, allocations: 247.7 kB / 0.5106 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.4639, allocations: 19.88 kB / 0.5106 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.464, allocations: 24.47 kB / 0.5106 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.4651, allocations: 489.5 kB / 0.5111 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4651, allocations: 0 / 0.5111 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.4651, allocations: 11.77 kB / 0.5111 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.4652, allocations: 13.44 kB / 0.5111 GB, free: 22.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.4664, allocations: 0.6805 MB / 0.5118 GB, free: 22.59 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.007413/0.4739, allocations: 4.301 MB / 0.516 GB, free: 19.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.4744, allocations: 170.8 kB / 0.5161 GB, free: 19.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.4745, allocations: 61.95 kB / 0.5162 GB, free: 19.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02762/0.5022, allocations: 16.4 MB / 0.5322 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000736/0.503, allocations: 318.7 kB / 0.5325 GB, free: 7.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/0.503, allocations: 0 / 0.5325 GB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0015/0.5045, allocations: 440.5 kB / 0.5329 GB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.5046, allocations: 476.9 kB / 0.5334 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.5048, allocations: 186.4 kB / 0.5336 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.5049, allocations: 31.67 kB / 0.5336 GB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.505, allocations: 184.8 kB / 0.5338 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.5051, allocations: 112.9 kB / 0.5339 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.5052, allocations: 93.64 kB / 0.534 GB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.769e-05/0.5053, allocations: 333.1 kB / 0.5343 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.5054, allocations: 68.7 kB / 0.5344 GB, free: 6.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5057, allocations: 309.1 kB / 0.5347 GB, free: 5.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.5061, allocations: 426.5 kB / 0.5351 GB, free: 5.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5061, allocations: 3.469 kB / 0.5351 GB, free: 5.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007479/0.5069, allocations: 396.9 kB / 0.5354 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.5069, allocations: 11.97 kB / 0.5355 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.5069, allocations: 9.25 kB / 0.5355 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.507, allocations: 12.28 kB / 0.5355 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.5073, allocations: 110.4 kB / 0.5356 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.5074, allocations: 14.59 kB / 0.5356 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.5077, allocations: 46.69 kB / 0.5356 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.5078, allocations: 35.89 kB / 0.5357 GB, free: 5.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.508, allocations: 155.8 kB / 0.5358 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.5081, allocations: 23.19 kB / 0.5359 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5091, allocations: 0.7842 MB / 0.5366 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.5091, allocations: 8.328 kB / 0.5366 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.5092, allocations: 6.75 kB / 0.5366 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.5092, allocations: 6.688 kB / 0.5366 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.5104, allocations: 1.216 MB / 0.5378 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.5105, allocations: 2.75 kB / 0.5378 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5106, allocations: 32.67 kB / 0.5379 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.5106, allocations: 10.78 kB / 0.5379 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5106, allocations: 4.125 kB / 0.5379 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.5106, allocations: 7.688 kB / 0.5379 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5106, allocations: 2.75 kB / 0.5379 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.5111, allocations: 371.8 kB / 0.5382 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5112, allocations: 105.5 kB / 0.5383 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.5113, allocations: 46.12 kB / 0.5384 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.5116, allocations: 21.97 kB / 0.5384 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.5116, allocations: 20.77 kB / 0.5384 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.5116, allocations: 7.75 kB / 0.5384 GB, free: 3.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002711/0.5119, allocations: 294.6 kB / 0.5387 GB, free: 3.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5119, allocations: 96 / 0.5387 GB, free: 3.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001793/0.5137, allocations: 425.3 kB / 0.5391 GB, free: 3.473 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/0.5163, allocations: 1.438 MB / 0.5405 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.5167, allocations: 244.3 kB / 0.5408 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5167, allocations: 3.094 kB / 0.5408 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.5168, allocations: 83.69 kB / 0.5408 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.5176, allocations: 123.2 kB / 0.541 GB, free: 2.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.571/2.088, allocations: 0.5821 GB / 1.123 GB, free: 187.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/2.089, allocations: 0.8079 MB / 1.124 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005315/2.089, allocations: 164.8 kB / 1.124 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/2.089, allocations: 149.3 kB / 1.124 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/2.089, allocations: 1.312 kB / 1.124 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/2.125, allocations: 18.19 MB / 1.142 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/2.125, allocations: 237.2 kB / 1.142 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/4.782, allocations: 0 / 1.142 GB, free: 172.7 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches