Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 209.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.484/1.484, allocations: 227.4 MB / 246.4 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 77.78 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 62.44 MB / 479.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003143/0.154, allocations: 1.75 MB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1556, allocations: 0.9846 MB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.1556, allocations: 0 / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.156, allocations: 79.83 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.1563, allocations: 107.6 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.1564, allocations: 63.81 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1566, allocations: 111.7 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1567, allocations: 4.234 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.1568, allocations: 59.7 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.1569, allocations: 47.84 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1569, allocations: 7.984 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.157, allocations: 35.98 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.157, allocations: 23.92 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.1571, allocations: 39.67 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1573, allocations: 107.9 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1573, allocations: 0 / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1573, allocations: 4 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1573, allocations: 0 / 483 MB, free: 2.055 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004878/0.1578, allocations: 414.9 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1578, allocations: 12.03 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1579, allocations: 30.75 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.1579, allocations: 16.73 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1581, allocations: 208.6 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1582, allocations: 4.375 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.1582, allocations: 11.86 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1583, allocations: 45.62 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1583, allocations: 4 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1583, allocations: 4 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1584, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.16e-05/0.1584, allocations: 15.98 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.1586, allocations: 189.6 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.1588, allocations: 58.55 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1589, allocations: 24.84 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.1589, allocations: 0 / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.1591, allocations: 67.33 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1591, allocations: 0 / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002633/0.1593, allocations: 93.77 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1594, allocations: 51.41 kB / 484.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.1596, allocations: 220.3 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1596, allocations: 33.7 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.1597, allocations: 104.1 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1597, allocations: 15.75 kB / 484.6 MB, free: 256 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1598, allocations: 17.72 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1599, allocations: 334.8 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.1599, allocations: 12 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.16, allocations: 29.77 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.028e-05/0.1601, allocations: 49.7 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1601, allocations: 7.875 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001537/0.1603, allocations: 81.53 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1603, allocations: 4 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1603, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1603, allocations: 0 / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.1604, allocations: 8 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1604, allocations: 4 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.1605, allocations: 15.92 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1605, allocations: 4 kB / 485.2 MB, free: 15.66 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 (7): * Single equations (assignments): 7 * 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.0001048/0.1606, allocations: 133.7 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1606, allocations: 11.89 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.1607, allocations: 13 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1607, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1607, allocations: 3.938 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1607, allocations: 0 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1609, allocations: 193.5 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1609, allocations: 4 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.1609, allocations: 4 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1609, allocations: 0 / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1609, allocations: 8 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1609, allocations: 3.984 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1609, allocations: 0 / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1611, allocations: 108.9 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.1612, allocations: 93 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1612, allocations: 4 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.739e-05/0.1612, allocations: 4 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.1613, allocations: 3.938 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.1613, allocations: 7.984 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1614, allocations: 161.2 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1614, allocations: 4 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.1616, allocations: 16 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00128/0.1629, allocations: 0.9448 MB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.1631, allocations: 47.84 kB / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1631, allocations: 0 / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.1632, allocations: 20 kB / 486.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.1634, allocations: 34.89 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1651, allocations: 1.573 MB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1654, allocations: 0.708 MB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.151e-05/0.1655, allocations: 16.53 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.1655, allocations: 39.36 kB / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1655, allocations: 0 / 489.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.1797, allocations: 3.07 MB / 492.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.1799, allocations: 250.1 kB / 492.6 MB, free: 8.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.082, allocations: 0 / 492.6 MB, free: 8.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches