Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 115.4 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 246.4 MB, free: 9.109 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 77.56 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1422, allocations: 62.44 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00485/0.1472, allocations: 1.789 MB / 481.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1496, allocations: 1.013 MB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1497, allocations: 0 / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.1502, allocations: 51.81 kB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.1508, allocations: 83.73 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1511, allocations: 71.81 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1513, allocations: 103.7 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.1515, allocations: 11.98 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1516, allocations: 43.73 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1518, allocations: 47.72 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1518, allocations: 7.984 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1519, allocations: 40 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.152, allocations: 27.91 kB / 482.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1521, allocations: 43.69 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1524, allocations: 139.8 kB / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1524, allocations: 0 / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1525, allocations: 0 / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1525, allocations: 0 / 483.1 MB, free: 2.016 MB / 350.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.0007985/0.1533, allocations: 450.6 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.1533, allocations: 8.031 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1534, allocations: 30.75 kB / 483.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.1535, allocations: 16.75 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.1539, allocations: 225 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1539, allocations: 384 / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.1539, allocations: 7.938 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.1542, allocations: 53.67 kB / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1542, allocations: 0 / 483.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1542, allocations: 4 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1542, allocations: 0 / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1543, allocations: 27.92 kB / 483.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1549, allocations: 300.9 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.1551, allocations: 50.67 kB / 484.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.1552, allocations: 20.86 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.1553, allocations: 3.938 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.1556, allocations: 75.31 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1556, allocations: 0 / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007519/0.1563, allocations: 185 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.1564, allocations: 55.41 kB / 484.5 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.1568, allocations: 274.9 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1568, allocations: 25.7 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1569, allocations: 112.1 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.157, allocations: 27.64 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.1571, allocations: 33.7 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1572, allocations: 322.8 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.212e-05/0.1573, allocations: 23.98 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.1574, allocations: 37.64 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1576, allocations: 57.66 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1576, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002421/0.1578, allocations: 109.5 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1579, allocations: 8 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1579, allocations: 80 / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.1579, allocations: 0 / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.158, allocations: 15.98 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1581, allocations: 7.984 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.1581, allocations: 11.92 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1582, allocations: 4 kB / 485.6 MB, free: 15.23 MB / 366.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 0.0001624/0.1583, allocations: 140.1 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.1584, allocations: 11.81 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.1585, allocations: 21.39 kB / 485.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1585, allocations: 4 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.1585, allocations: 0 / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1585, allocations: 3.938 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.1591, allocations: 407.6 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1591, allocations: 0 / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.1592, allocations: 19.97 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1592, allocations: 7.938 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1592, allocations: 3.984 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1592, allocations: 0 / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1592, allocations: 0 / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.1596, allocations: 208.1 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.1597, allocations: 85.02 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1597, allocations: 7.938 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1598, allocations: 11.98 kB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.1599, allocations: 4 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1599, allocations: 7.938 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1602, allocations: 204.4 kB / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1602, allocations: 0 / 486.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.1606, allocations: 28 kB / 486.7 MB, free: 13.98 MB / 366.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.001999/0.1626, allocations: 1.091 MB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.1628, allocations: 55.92 kB / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1629, allocations: 0 / 487.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.163, allocations: 32.08 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1634, allocations: 32.11 kB / 488 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.1661, allocations: 1.844 MB / 489.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.1665, allocations: 0.7275 MB / 490.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.1666, allocations: 16.81 kB / 490.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1667, allocations: 43.42 kB / 490.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.021e-06/0.1667, allocations: 0 / 490.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1855, allocations: 3.608 MB / 494.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/0.1858, allocations: 240.9 kB / 494.4 MB, free: 6.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.111, allocations: 4 kB / 494.4 MB, free: 6.398 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches