Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 96.22 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009387/0.0009386, allocations: 180.4 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.008711/0.15, allocations: 7.464 MB / 479 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1619, allocations: 11.38 MB / 490.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.1622, allocations: 4 kB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1625, allocations: 59.67 kB / 490.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008345/0.1709, allocations: 2.604 MB / 493.1 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.1714, allocations: 142.3 kB / 493.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009984/0.1814, allocations: 7.153 MB / 0.4886 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.1815, allocations: 12.41 kB / 0.4886 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1818, allocations: 135.5 kB / 0.4888 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01678/0.1986, allocations: 13.84 MB / 0.5023 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.1987, allocations: 15.94 kB / 0.5023 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/0.2037, allocations: 2.146 MB / 0.5044 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2039, allocations: 43.88 kB / 0.5044 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.204, allocations: 69.58 kB / 0.5045 GB, free: 492 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2397/0.4437, allocations: 1.021 MB / 0.5055 GB, free: 33.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.4437, allocations: 0 / 0.5055 GB, free: 33.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4438, allocations: 0 / 0.5055 GB, free: 33.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4438, allocations: 0.5625 kB / 0.5055 GB, free: 33.77 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.00216/0.4459, allocations: 0.866 MB / 0.5063 GB, free: 33.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.446, allocations: 11 kB / 0.5064 GB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.195e-05/0.4461, allocations: 63.25 kB / 0.5064 GB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/0.4467, allocations: 80.56 kB / 0.5065 GB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.4469, allocations: 244.7 kB / 0.5067 GB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.447, allocations: 25.45 kB / 0.5067 GB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.447, allocations: 24.38 kB / 0.5068 GB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009295/0.4479, allocations: 480.4 kB / 0.5072 GB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.448, allocations: 5.031 kB / 0.5072 GB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.448, allocations: 14.58 kB / 0.5072 GB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.448, allocations: 7.719 kB / 0.5073 GB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4493, allocations: 0.6785 MB / 0.5079 GB, free: 32.85 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.007226/0.4565, allocations: 4.322 MB / 0.5121 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.457, allocations: 158.3 kB / 0.5123 GB, free: 30.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02133/0.4784, allocations: 14.36 MB / 0.5263 GB, free: 19.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.4791, allocations: 320.7 kB / 0.5266 GB, free: 19.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.4791, allocations: 0.7812 kB / 0.5266 GB, free: 19.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00144/0.4806, allocations: 433.8 kB / 0.527 GB, free: 19.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/0.4807, allocations: 480.7 kB / 0.5275 GB, free: 18.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.4809, allocations: 182.8 kB / 0.5277 GB, free: 18.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.4809, allocations: 32.02 kB / 0.5277 GB, free: 18.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.481, allocations: 182.4 kB / 0.5279 GB, free: 18.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.4811, allocations: 104.3 kB / 0.528 GB, free: 18.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.4811, allocations: 12.34 kB / 0.528 GB, free: 18.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.4812, allocations: 335.7 kB / 0.5283 GB, free: 18.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4813, allocations: 62 kB / 0.5284 GB, free: 18.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.4815, allocations: 305.6 kB / 0.5287 GB, free: 17.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.4817, allocations: 108.2 kB / 0.5288 GB, free: 17.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.4818, allocations: 1.969 kB / 0.5288 GB, free: 17.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006344/0.4824, allocations: 396.5 kB / 0.5291 GB, free: 17.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.4824, allocations: 13.47 kB / 0.5291 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4825, allocations: 12.75 kB / 0.5292 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.4825, allocations: 12.25 kB / 0.5292 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.4828, allocations: 105.2 kB / 0.5293 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.4828, allocations: 18.45 kB / 0.5293 GB, free: 17.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.4832, allocations: 47.69 kB / 0.5293 GB, free: 17.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.4832, allocations: 32 kB / 0.5294 GB, free: 17.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.4834, allocations: 167.7 kB / 0.5295 GB, free: 17.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.4835, allocations: 22.62 kB / 0.5295 GB, free: 17.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4845, allocations: 0.8162 MB / 0.5303 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4845, allocations: 4.125 kB / 0.5303 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4845, allocations: 2.75 kB / 0.5303 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4846, allocations: 5.25 kB / 0.5304 GB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.4857, allocations: 1.221 MB / 0.5315 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.4857, allocations: 6.703 kB / 0.5316 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.4858, allocations: 27.17 kB / 0.5316 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.4858, allocations: 7.469 kB / 0.5316 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4858, allocations: 6.812 kB / 0.5316 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4859, allocations: 8.469 kB / 0.5316 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4859, allocations: 2.969 kB / 0.5316 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.4863, allocations: 499.6 kB / 0.5321 GB, free: 16.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.4865, allocations: 225.4 kB / 0.5323 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.4865, allocations: 7.094 kB / 0.5323 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.4868, allocations: 15.11 kB / 0.5323 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.4868, allocations: 22.03 kB / 0.5323 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.4869, allocations: 9.625 kB / 0.5323 GB, free: 15.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003078/0.4872, allocations: 288.8 kB / 0.5326 GB, free: 15.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4872, allocations: 0 / 0.5326 GB, free: 15.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001783/0.489, allocations: 427.8 kB / 0.533 GB, free: 15.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002245/0.4912, allocations: 2.247 MB / 0.5352 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.4917, allocations: 222.3 kB / 0.5354 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4917, allocations: 1.469 kB / 0.5354 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.4919, allocations: 81.86 kB / 0.5355 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.4925, allocations: 94.84 kB / 0.5356 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.4969, allocations: 8.009 MB / 0.5434 GB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.4971, allocations: 0.8183 MB / 0.5442 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004375/0.4976, allocations: 164.8 kB / 0.5444 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.4977, allocations: 140.7 kB / 0.5445 GB, free: 6.027 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4977, allocations: 0 / 0.5445 GB, free: 6.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.5319, allocations: 17.37 MB / 0.5615 GB, free: 7.922 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.5321, allocations: 213.1 kB / 0.5617 GB, free: 7.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.05, allocations: 0 / 0.5617 GB, free: 7.68 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat