Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009727/0.0009726, allocations: 97.25 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001329, allocations: 194.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.006645/0.1586, allocations: 4.729 MB / 486.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.1621, allocations: 2.447 MB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1623, allocations: 0 / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.1626, allocations: 31.81 kB / 488.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.1661, allocations: 0.8792 MB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.1666, allocations: 146.6 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.1671, allocations: 294.7 kB / 490.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.11e-05/0.1672, allocations: 17.53 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.1687, allocations: 0.71 MB / 490.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.169, allocations: 155.5 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.1691, allocations: 4 kB / 491 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002523/0.1716, allocations: 1.159 MB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.1717, allocations: 31.83 kB / 492.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.1718, allocations: 57.64 kB / 492.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.1725, allocations: 375.2 kB / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.1725, allocations: 0 / 492.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1725, allocations: 4 kB / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1726, allocations: 0 / 492.7 MB, free: 10.2 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001139/0.1737, allocations: 0.5262 MB / 493.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.1738, allocations: 8.031 kB / 493.2 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002367/0.174, allocations: 50.55 kB / 493.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.1745, allocations: 43.78 kB / 493.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1748, allocations: 210.8 kB / 493.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.1748, allocations: 20 kB / 493.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1749, allocations: 16 kB / 493.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.1754, allocations: 237.5 kB / 493.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1754, allocations: 0 / 493.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.1754, allocations: 16 kB / 493.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1754, allocations: 4 kB / 493.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.1758, allocations: 229.4 kB / 494 MB, free: 8.73 MB / 366.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.001633/0.1775, allocations: 1.365 MB / 495.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1777, allocations: 90.55 kB / 495.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.1778, allocations: 44.84 kB / 495.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.1796, allocations: 2.059 MB / 497.6 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.1799, allocations: 171 kB / 497.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.1799, allocations: 0 / 497.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.000966/0.1809, allocations: 356 kB / 498.1 MB, free: 4.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.1811, allocations: 269 kB / 498.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1812, allocations: 146.3 kB / 498.5 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1813, allocations: 33.69 kB / 498.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1814, allocations: 139.8 kB / 498.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.1815, allocations: 71.08 kB / 498.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.1815, allocations: 8 kB / 498.7 MB, free: 3.309 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1817, allocations: 327 kB / 499 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.1818, allocations: 39.98 kB / 499.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.182, allocations: 183.9 kB / 499.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1821, allocations: 71.92 kB / 499.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1821, allocations: 8 kB / 499.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000405/0.1825, allocations: 249.6 kB / 499.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1826, allocations: 12.12 kB / 499.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1826, allocations: 4 kB / 499.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1826, allocations: 8 kB / 499.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.183, allocations: 103.8 kB / 499.7 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003803/0.1834, allocations: 0.6015 MB / 0.4886 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1836, allocations: 11.94 kB / 0.4886 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.1836, allocations: 24.09 kB / 0.4886 GB, free: 1.582 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.1838, allocations: 137.8 kB / 0.4888 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.1839, allocations: 19.75 kB / 0.4888 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.1844, allocations: 235.6 kB / 0.489 GB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1844, allocations: 4.062 kB / 0.489 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1844, allocations: 4 kB / 0.489 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1845, allocations: 7.938 kB / 0.489 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.1849, allocations: 432.9 kB / 0.4894 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1849, allocations: 4 kB / 0.4894 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.1853, allocations: 59.89 kB / 0.4895 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1853, allocations: 0 / 0.4895 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.1853, allocations: 4 kB / 0.4895 GB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002966/0.1856, allocations: 0.586 MB / 0.4901 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1856, allocations: 3.984 kB / 0.4901 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1858, allocations: 142.7 kB / 0.4902 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.1859, allocations: 116.8 kB / 0.4903 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.186, allocations: 7.984 kB / 0.4903 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1861, allocations: 4 kB / 0.4903 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.1861, allocations: 15.92 kB / 0.4903 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1861, allocations: 8 kB / 0.4903 GB, free: 15.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.795e-05/0.1862, allocations: 127.8 kB / 0.4905 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1863, allocations: 96 / 0.4905 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.1868, allocations: 139.9 kB / 0.4906 GB, free: 15.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.1878, allocations: 0.8568 MB / 0.4914 GB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.1883, allocations: 152.9 kB / 0.4916 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1883, allocations: 4.125 kB / 0.4916 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1885, allocations: 51.91 kB / 0.4916 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.1888, allocations: 34.38 kB / 0.4917 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.1912, allocations: 1.472 MB / 0.4931 GB, free: 12.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1915, allocations: 0.7168 MB / 0.4938 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.1918, allocations: 73.84 kB / 0.4939 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1919, allocations: 55.41 kB / 0.4939 GB, free: 11.8 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1919, allocations: 0 / 0.4939 GB, free: 11.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.2119, allocations: 5.823 MB / 0.4996 GB, free: 6.195 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002651/0.2122, allocations: 277.1 kB / 0.4999 GB, free: 5.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.329, allocations: 4 kB / 0.4999 GB, free: 5.832 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat