Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001237, allocations: 103.5 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 209.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.3 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 76.16 kB / 417 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 62.44 MB / 479.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.004125/0.1578, allocations: 1.781 MB / 481.2 MB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1598, allocations: 1.013 MB / 482.2 MB, free: 6.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1599, allocations: 7.938 kB / 482.2 MB, free: 6.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003583/0.1603, allocations: 31.91 kB / 482.2 MB, free: 6.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1607, allocations: 75.75 kB / 482.3 MB, free: 6.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.161, allocations: 67.8 kB / 482.4 MB, free: 5.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.1612, allocations: 99.64 kB / 482.5 MB, free: 5.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1613, allocations: 11.98 kB / 482.5 MB, free: 5.879 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.1615, allocations: 43.77 kB / 482.5 MB, free: 5.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.013e-05/0.1616, allocations: 35.73 kB / 482.6 MB, free: 5.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1616, allocations: 4 kB / 482.6 MB, free: 5.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1617, allocations: 43.98 kB / 482.6 MB, free: 5.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1618, allocations: 19.91 kB / 482.6 MB, free: 5.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.1619, allocations: 31.81 kB / 482.6 MB, free: 5.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1621, allocations: 107.9 kB / 482.8 MB, free: 5.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.1622, allocations: 7.922 kB / 482.8 MB, free: 5.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1622, allocations: 0 / 482.8 MB, free: 5.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1622, allocations: 4 kB / 482.8 MB, free: 5.586 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006159/0.1628, allocations: 407 kB / 483.2 MB, free: 5.141 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1629, allocations: 12.88 kB / 483.2 MB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.1629, allocations: 34.73 kB / 483.2 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.163, allocations: 12.84 kB / 483.2 MB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.1633, allocations: 212 kB / 483.4 MB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1633, allocations: 4.375 kB / 483.4 MB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1633, allocations: 3.938 kB / 483.4 MB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1635, allocations: 53.67 kB / 483.5 MB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1635, allocations: 4 kB / 483.5 MB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1635, allocations: 0 / 483.5 MB, free: 4.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1635, allocations: 4 kB / 483.5 MB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.1636, allocations: 27.92 kB / 483.5 MB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.1641, allocations: 280.9 kB / 483.8 MB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1643, allocations: 58.67 kB / 483.9 MB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1643, allocations: 16.86 kB / 483.9 MB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1644, allocations: 4 kB / 483.9 MB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.1646, allocations: 71.33 kB / 483.9 MB, free: 4.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.1646, allocations: 0 / 483.9 MB, free: 4.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000607/0.1652, allocations: 181.1 kB / 484.1 MB, free: 4.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1653, allocations: 51.41 kB / 484.2 MB, free: 3.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1655, allocations: 185.9 kB / 484.4 MB, free: 3.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1655, allocations: 29.7 kB / 484.4 MB, free: 3.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.1656, allocations: 104.1 kB / 484.5 MB, free: 3.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.1656, allocations: 23.66 kB / 484.5 MB, free: 3.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1657, allocations: 25.7 kB / 484.5 MB, free: 3.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1658, allocations: 326.8 kB / 484.9 MB, free: 3.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.1659, allocations: 12 kB / 484.9 MB, free: 3.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1659, allocations: 41.64 kB / 484.9 MB, free: 3.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1661, allocations: 69.62 kB / 485 MB, free: 3.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1661, allocations: 0 / 485 MB, free: 3.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.1663, allocations: 101.4 kB / 485.1 MB, free: 3.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1663, allocations: 7.984 kB / 485.1 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1663, allocations: 0 / 485.1 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1664, allocations: 0 / 485.1 MB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.1664, allocations: 16 kB / 485.1 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1665, allocations: 0 / 485.1 MB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1665, allocations: 11.97 kB / 485.1 MB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1665, allocations: 8.141 kB / 485.1 MB, free: 2.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.767e-05/0.1666, allocations: 120.5 kB / 485.2 MB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.1667, allocations: 11.91 kB / 485.2 MB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.1667, allocations: 25.38 kB / 485.3 MB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1667, allocations: 0 / 485.3 MB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1667, allocations: 0 / 485.3 MB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1668, allocations: 3.938 kB / 485.3 MB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1672, allocations: 395.3 kB / 485.7 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1672, allocations: 384 / 485.7 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.1673, allocations: 19.92 kB / 485.7 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.1673, allocations: 7.938 kB / 485.7 MB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1673, allocations: 4 kB / 485.7 MB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1673, allocations: 0 / 485.7 MB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1673, allocations: 0 / 485.7 MB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1676, allocations: 204.2 kB / 485.9 MB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.1676, allocations: 85.02 kB / 486 MB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1677, allocations: 3.938 kB / 486 MB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.1678, allocations: 11.92 kB / 486 MB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.1678, allocations: 4 kB / 486 MB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1678, allocations: 7.938 kB / 486 MB, free: 1.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.168, allocations: 144.9 kB / 486.1 MB, free: 1.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.168, allocations: 0 / 486.1 MB, free: 1.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1682, allocations: 24 kB / 486.2 MB, free: 1.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00152/0.1698, allocations: 1.09 MB / 487.3 MB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.17, allocations: 55.92 kB / 487.3 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.17, allocations: 4 kB / 487.3 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.1701, allocations: 27.92 kB / 487.3 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1704, allocations: 31.97 kB / 487.4 MB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1723, allocations: 1.648 MB / 489 MB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1727, allocations: 0.7043 MB / 489.7 MB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.78e-05/0.1728, allocations: 16.83 kB / 489.7 MB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.1729, allocations: 35.42 kB / 489.8 MB, free: 14.24 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1729, allocations: 0 / 489.8 MB, free: 14.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1874, allocations: 3.138 MB / 492.9 MB, free: 11.2 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.1876, allocations: 233 kB / 493.1 MB, free: 10.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.163, allocations: 3.938 kB / 493.1 MB, free: 10.95 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches