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.001293/0.001293, allocations: 103.5 kB / 17.2 MB, free: 6.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 205.8 kB / 18.13 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, 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.2641/0.2641, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 72.5 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1484, allocations: 62.45 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01641/0.1648, allocations: 11.51 MB / 490.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.1794, allocations: 12.05 MB / 0.4912 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.1798, allocations: 0 / 0.4912 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004467/0.1803, allocations: 63.67 kB / 0.4912 GB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.1912, allocations: 2.633 MB / 0.4938 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.1917, allocations: 143.5 kB / 0.4939 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007814/0.1996, allocations: 4.145 MB / 0.498 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.1997, allocations: 24.38 kB / 0.498 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.2, allocations: 143.5 kB / 0.4981 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3418/0.5419, allocations: 7.555 MB / 0.5055 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.542, allocations: 10.34 kB / 0.5055 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006892/0.5489, allocations: 2.115 MB / 0.5076 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.5491, allocations: 41.17 kB / 0.5076 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.5493, allocations: 124.4 kB / 0.5077 GB, free: 23.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004555/0.5539, allocations: 1.544 MB / 0.5093 GB, free: 23.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5539, allocations: 1.125 kB / 0.5093 GB, free: 23.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5539, allocations: 2.516 kB / 0.5093 GB, free: 23.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.5539, allocations: 0 / 0.5093 GB, free: 23.04 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.002324/0.5562, allocations: 0.9291 MB / 0.5102 GB, free: 22.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5563, allocations: 10.06 kB / 0.5102 GB, free: 22.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/0.5564, allocations: 63.03 kB / 0.5102 GB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.557, allocations: 79.25 kB / 0.5103 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.5573, allocations: 243.4 kB / 0.5105 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5573, allocations: 18.62 kB / 0.5106 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/0.5573, allocations: 28.16 kB / 0.5106 GB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009706/0.5583, allocations: 488.8 kB / 0.5111 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5583, allocations: 0 / 0.5111 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.5584, allocations: 10.84 kB / 0.5111 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.5584, allocations: 8.5 kB / 0.5111 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.5597, allocations: 0.6913 MB / 0.5117 GB, free: 22.11 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.007674/0.5673, allocations: 4.298 MB / 0.5159 GB, free: 19.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.5679, allocations: 163.2 kB / 0.5161 GB, free: 19.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.568, allocations: 61.12 kB / 0.5162 GB, free: 19.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02752/0.5956, allocations: 16.4 MB / 0.5322 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007176/0.5963, allocations: 326.2 kB / 0.5325 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.677e-06/0.5964, allocations: 0 / 0.5325 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001371/0.5977, allocations: 437.1 kB / 0.5329 GB, free: 7.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.5979, allocations: 478.5 kB / 0.5334 GB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.5981, allocations: 180.5 kB / 0.5335 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.5981, allocations: 33.17 kB / 0.5336 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.5982, allocations: 186.9 kB / 0.5337 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.5983, allocations: 106.4 kB / 0.5338 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.5984, allocations: 94.89 kB / 0.5339 GB, free: 6.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.5985, allocations: 329.1 kB / 0.5342 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.5986, allocations: 66.77 kB / 0.5343 GB, free: 5.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.5988, allocations: 313.5 kB / 0.5346 GB, free: 5.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.5993, allocations: 426.5 kB / 0.535 GB, free: 5.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5993, allocations: 3.594 kB / 0.535 GB, free: 5.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006249/0.5999, allocations: 395.1 kB / 0.5354 GB, free: 5.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.5999, allocations: 10.06 kB / 0.5354 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6, allocations: 9.375 kB / 0.5354 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.6, allocations: 11.69 kB / 0.5354 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.6003, allocations: 113.3 kB / 0.5355 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.6003, allocations: 17.5 kB / 0.5356 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.6006, allocations: 46.22 kB / 0.5356 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.6007, allocations: 32.3 kB / 0.5356 GB, free: 5.039 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.0001226/0.6008, allocations: 156.2 kB / 0.5358 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.6009, allocations: 22.59 kB / 0.5358 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009943/0.6019, allocations: 0.7895 MB / 0.5366 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6019, allocations: 12.33 kB / 0.5366 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6019, allocations: 6.688 kB / 0.5366 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.602, allocations: 9.594 kB / 0.5366 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.6031, allocations: 1.212 MB / 0.5378 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.6031, allocations: 2.75 kB / 0.5378 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6032, allocations: 31.02 kB / 0.5378 GB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.6032, allocations: 12.06 kB / 0.5378 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.6033, allocations: 7.625 kB / 0.5378 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.6033, allocations: 4.125 kB / 0.5378 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6033, allocations: 2.75 kB / 0.5378 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.6037, allocations: 377.2 kB / 0.5382 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.6037, allocations: 102.7 kB / 0.5383 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.6038, allocations: 51.84 kB / 0.5383 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.6041, allocations: 15.73 kB / 0.5384 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.6041, allocations: 18.36 kB / 0.5384 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.6041, allocations: 9.562 kB / 0.5384 GB, free: 3.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.6044, allocations: 294.1 kB / 0.5387 GB, free: 3.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6044, allocations: 0 / 0.5387 GB, free: 3.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00176/0.6062, allocations: 420.7 kB / 0.5391 GB, free: 3.086 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.001863/0.6081, allocations: 1.442 MB / 0.5405 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.6085, allocations: 234.7 kB / 0.5407 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6085, allocations: 0 / 0.5407 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.6086, allocations: 87 kB / 0.5408 GB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.6093, allocations: 119.5 kB / 0.5409 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.599/2.209, allocations: 0.5822 GB / 1.123 GB, free: 187.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/2.209, allocations: 0.8127 MB / 1.124 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000504/2.209, allocations: 163.1 kB / 1.124 GB, free: 186.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/2.209, allocations: 148.5 kB / 1.124 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/2.209, allocations: 1.438 kB / 1.124 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/2.242, allocations: 17.99 MB / 1.142 GB, free: 173.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/2.242, allocations: 226.3 kB / 1.142 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/4.848, allocations: 2.734 kB / 1.142 GB, free: 173.1 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