Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 116.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, 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.2241/0.2241, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 79.06 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1467, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003471/0.1502, allocations: 1.785 MB / 481.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.1521, allocations: 1.006 MB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.1522, allocations: 0 / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002913/0.1525, allocations: 47.81 kB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1529, allocations: 87.67 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1531, allocations: 63.88 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1533, allocations: 107.6 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.1534, allocations: 12 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.1535, allocations: 47.77 kB / 482.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.1536, allocations: 35.8 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1536, allocations: 4 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1538, allocations: 43.98 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.1538, allocations: 31.84 kB / 482.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.1539, allocations: 39.67 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1541, allocations: 119.9 kB / 483 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1541, allocations: 4 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1541, allocations: 0 / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1541, allocations: 0 / 483 MB, free: 2.082 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.0006909/0.1548, allocations: 434.8 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1549, allocations: 8.031 kB / 483.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1549, allocations: 38.75 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.155, allocations: 12.84 kB / 483.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.1552, allocations: 221.5 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1552, allocations: 4.375 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1553, allocations: 11.94 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1554, allocations: 49.67 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1554, allocations: 0 / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1554, allocations: 8 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1554, allocations: 0 / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.386e-05/0.1555, allocations: 15.98 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1559, allocations: 300.7 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1561, allocations: 62.61 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1561, allocations: 24.84 kB / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1562, allocations: 0 / 484.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1564, allocations: 63.39 kB / 484.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1564, allocations: 0 / 484.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.1569, allocations: 185.1 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.157, allocations: 55.41 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.1572, allocations: 238.1 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1572, allocations: 29.7 kB / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.1573, allocations: 104.1 kB / 484.9 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1573, allocations: 31.58 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.1574, allocations: 21.77 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1575, allocations: 330.8 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.1576, allocations: 23.98 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.1577, allocations: 37.64 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.1578, allocations: 61.72 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1578, allocations: 0 / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.158, allocations: 105.4 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.158, allocations: 14.69 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.158, allocations: 0 / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.158, allocations: 0 / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.1581, allocations: 15.98 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1581, allocations: 7.938 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.1582, allocations: 4.312 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1582, allocations: 4 kB / 485.5 MB, free: 15.36 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.0001021/0.1583, allocations: 129.8 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.1583, allocations: 11.91 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1584, allocations: 25.39 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1584, allocations: 4 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1584, allocations: 0 / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.1584, allocations: 3.938 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.1589, allocations: 399.2 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1589, allocations: 3.984 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.1589, allocations: 8 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.1589, allocations: 7.938 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1589, allocations: 4.031 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1589, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.159, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1592, allocations: 208.2 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1593, allocations: 92.91 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1593, allocations: 3.938 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1594, allocations: 12 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.1594, allocations: 3.984 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.1594, allocations: 4 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1596, allocations: 176.4 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1596, allocations: 0 / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1598, allocations: 27.98 kB / 486.6 MB, free: 14.15 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.001436/0.1613, allocations: 1.08 MB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1615, allocations: 71.89 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1615, allocations: 0 / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.904e-05/0.1616, allocations: 27.97 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.1619, allocations: 39.36 kB / 487.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1637, allocations: 1.756 MB / 489.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1641, allocations: 0.7156 MB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.1641, allocations: 20.88 kB / 490.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.1642, allocations: 39.42 kB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1642, allocations: 0 / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.1772, allocations: 3.433 MB / 493.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.1774, allocations: 238.1 kB / 494 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.2, allocations: 0 / 494 MB, free: 6.848 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches