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.00151/0.00151, allocations: 109.5 kB / 17.32 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 201.8 kB / 18.26 MB, free: 4.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 74.83 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1297, allocations: 62.44 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007637/0.1373, allocations: 5.344 MB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.1402, allocations: 2.639 MB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1404, allocations: 0 / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.1407, allocations: 35.81 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.1433, allocations: 0.9808 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.1436, allocations: 143 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.1441, allocations: 290.7 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.1441, allocations: 25.47 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.1453, allocations: 0.7484 MB / 489.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.1456, allocations: 163.5 kB / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1457, allocations: 4 kB / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.1478, allocations: 1.286 MB / 491.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.807e-05/0.1479, allocations: 35.89 kB / 491.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.148, allocations: 75.66 kB / 491.4 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009982/0.149, allocations: 0.5457 MB / 491.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.149, allocations: 0 / 491.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.149, allocations: 0 / 491.9 MB, free: 9.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.149, allocations: 0 / 491.9 MB, free: 9.199 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.001078/0.1501, allocations: 0.5653 MB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1502, allocations: 8.031 kB / 492.5 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.1502, allocations: 50.73 kB / 492.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.1508, allocations: 52.7 kB / 492.6 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.151, allocations: 220 kB / 492.8 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1511, allocations: 12.12 kB / 492.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1511, allocations: 16 kB / 492.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1516, allocations: 248.5 kB / 493.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1516, allocations: 0 / 493.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.1516, allocations: 11.98 kB / 493.1 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1516, allocations: 4 kB / 493.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.152, allocations: 233.4 kB / 493.3 MB, free: 7.668 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.001361/0.1534, allocations: 1.361 MB / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.1536, allocations: 94.53 kB / 494.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.1537, allocations: 51.17 kB / 494.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/0.1552, allocations: 2.055 MB / 496.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.1555, allocations: 165.5 kB / 497 MB, free: 3.344 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 2.464e-06/0.1555, allocations: 0 / 497 MB, free: 3.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001004/0.1565, allocations: 359.8 kB / 497.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.1567, allocations: 261 kB / 497.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1568, allocations: 160.7 kB / 497.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.1568, allocations: 29.7 kB / 497.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.1569, allocations: 147.7 kB / 498 MB, free: 2.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.157, allocations: 63.31 kB / 498 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.1571, allocations: 73.59 kB / 498.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.1572, allocations: 322.8 kB / 498.4 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.1573, allocations: 43.97 kB / 498.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.1574, allocations: 182.7 kB / 498.6 MB, free: 1.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1577, allocations: 258.6 kB / 498.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1577, allocations: 0.6562 kB / 498.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004386/0.1582, allocations: 257.3 kB / 499.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1582, allocations: 8 kB / 499.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.1582, allocations: 4 kB / 499.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1583, allocations: 8 kB / 499.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.1587, allocations: 103.9 kB / 499.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003101/0.1591, allocations: 0.598 MB / 499.8 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.1592, allocations: 19.88 kB / 499.9 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.1593, allocations: 27.92 kB / 499.9 MB, free: 204 kB / 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 (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 prepare postOptimizeDAE: time 0.0001173/0.1594, allocations: 129.8 kB / 0.4883 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.1594, allocations: 19.81 kB / 0.4883 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005303/0.16, allocations: 231.8 kB / 0.4885 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.16, allocations: 4 kB / 0.4885 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.16, allocations: 3.938 kB / 0.4886 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.16, allocations: 3.984 kB / 0.4886 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.1605, allocations: 444.8 kB / 0.489 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1605, allocations: 3.984 kB / 0.489 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.1608, allocations: 56.05 kB / 0.489 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1608, allocations: 3.938 kB / 0.489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1609, allocations: 7.984 kB / 0.489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002486/0.1611, allocations: 0.5821 MB / 0.4896 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1611, allocations: 0 / 0.4896 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1613, allocations: 146.7 kB / 0.4898 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.1614, allocations: 96.98 kB / 0.4898 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.1615, allocations: 15.88 kB / 0.4899 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1616, allocations: 8 kB / 0.4899 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.1617, allocations: 7.984 kB / 0.4899 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.1617, allocations: 8 kB / 0.4899 GB, free: 14.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1618, allocations: 139.7 kB / 0.49 GB, free: 14.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1618, allocations: 0 / 0.49 GB, free: 14.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.1623, allocations: 135.9 kB / 0.4901 GB, free: 14 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 (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.0009443/0.1633, allocations: 0.8388 MB / 0.491 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004683/0.1637, allocations: 164.1 kB / 0.4911 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1638, allocations: 0 / 0.4911 GB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.164, allocations: 51.91 kB / 0.4912 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1643, allocations: 53.12 kB / 0.4912 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.1672, allocations: 2.563 MB / 0.4937 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1675, allocations: 0.7167 MB / 0.4944 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.1678, allocations: 77.7 kB / 0.4945 GB, free: 9.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1679, allocations: 55.42 kB / 0.4946 GB, free: 9.211 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1679, allocations: 0 / 0.4946 GB, free: 9.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1877, allocations: 6.525 MB / 0.5009 GB, free: 2.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.188, allocations: 297.7 kB / 0.5012 GB, free: 2.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.248, allocations: 0 / 0.5012 GB, free: 2.523 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches