Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.00179, allocations: 103.5 kB / 17.32 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002276/0.002276, allocations: 205.8 kB / 18.27 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 83.72 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 62.44 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00412/0.1564, allocations: 1.793 MB / 481.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.1583, allocations: 1.004 MB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.1585, allocations: 4 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.159, allocations: 47.88 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.1595, allocations: 95.67 kB / 482.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.1598, allocations: 55.89 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.1601, allocations: 115.6 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1603, allocations: 8 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1604, allocations: 47.72 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1605, allocations: 39.78 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.1605, allocations: 4 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.1607, allocations: 43.98 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.1608, allocations: 35.91 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.1609, allocations: 43.61 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1612, allocations: 135.8 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1612, allocations: 0 / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1612, allocations: 0 / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1612, allocations: 0 / 483.1 MB, free: 2.004 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.0008531/0.1621, allocations: 446.7 kB / 483.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.1621, allocations: 12.02 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.1622, allocations: 34.75 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.1623, allocations: 16.75 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1626, allocations: 221 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1626, allocations: 4.312 kB / 483.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.1626, allocations: 3.938 kB / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1628, allocations: 57.67 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1629, allocations: 0 / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1629, allocations: 0 / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1629, allocations: 0 / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.163, allocations: 19.98 kB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.1635, allocations: 296.9 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.1637, allocations: 62.61 kB / 484.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.1638, allocations: 20.86 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.1638, allocations: 7.938 kB / 484.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.1641, allocations: 67.39 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1641, allocations: 0 / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007981/0.1649, allocations: 188.9 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.165, allocations: 51.41 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1653, allocations: 274.9 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.1653, allocations: 33.69 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.1654, allocations: 116.1 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1655, allocations: 23.66 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.1655, allocations: 21.7 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1657, allocations: 330.8 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.1658, allocations: 23.92 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.1659, allocations: 37.66 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.166, allocations: 61.77 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.166, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002126/0.1662, allocations: 109.4 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1663, allocations: 4 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1663, allocations: 4 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1663, allocations: 0 / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1664, allocations: 12 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1664, allocations: 0 / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.1665, allocations: 11.92 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1665, allocations: 8.031 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.0001544/0.1667, allocations: 141.8 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1667, allocations: 11.81 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.1668, allocations: 25.39 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1668, allocations: 4 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.1668, allocations: 0 / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1668, allocations: 3.938 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005175/0.1673, allocations: 407.2 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1674, allocations: 0 / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.1674, allocations: 12 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1674, allocations: 3.938 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1674, allocations: 4 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1674, allocations: 384 / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.1674, allocations: 0 / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.1677, allocations: 224.1 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1678, allocations: 89.02 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1679, allocations: 3.938 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.1679, allocations: 4 kB / 486.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.168, allocations: 3.984 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.168, allocations: 8 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.1682, allocations: 204.4 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1682, allocations: 0 / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1685, allocations: 27.98 kB / 486.7 MB, free: 13.97 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.001778/0.1703, allocations: 1.087 MB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1705, allocations: 67.89 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1706, allocations: 0 / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.1706, allocations: 31.97 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.171, allocations: 23.92 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.1734, allocations: 1.86 MB / 489.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.1737, allocations: 0.7119 MB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.1738, allocations: 16.88 kB / 490.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.1739, allocations: 47.41 kB / 490.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1739, allocations: 0 / 490.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.1898, allocations: 3.623 MB / 494.2 MB, free: 6.633 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.19, allocations: 234.2 kB / 494.4 MB, free: 6.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.114, allocations: 0 / 494.4 MB, free: 6.379 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches