Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 58.34 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 60.83 MB / 469.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004816/0.133, allocations: 2.275 MB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1359, allocations: 1.555 MB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1361, allocations: 7.938 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.1367, allocations: 139.3 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000489/0.1372, allocations: 222.9 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.1389, allocations: 0.656 MB / 474.2 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.1395, allocations: 0.526 MB / 474.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1397, allocations: 77.05 kB / 474.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.14, allocations: 223.1 kB / 475 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1403, allocations: 215 kB / 475.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.1403, allocations: 28 kB / 475.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.1406, allocations: 147.8 kB / 475.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1408, allocations: 127.5 kB / 475.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.141, allocations: 198.8 kB / 475.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.1416, allocations: 0.5688 MB / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1417, allocations: 0 / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1417, allocations: 0 / 476.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1417, allocations: 0 / 476.3 MB, free: 7.328 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001409/0.1431, allocations: 0.8894 MB / 477.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1432, allocations: 8.031 kB / 477.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.1432, allocations: 42.73 kB / 477.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.1434, allocations: 56.28 kB / 477.3 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.144, allocations: 472.1 kB / 477.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1441, allocations: 16.55 kB / 477.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.1441, allocations: 19.92 kB / 477.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1446, allocations: 255.3 kB / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1447, allocations: 0 / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.1447, allocations: 8 kB / 478 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.1447, allocations: 4 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.145, allocations: 107.9 kB / 478.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1462, allocations: 0.8796 MB / 479 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.1469, allocations: 294.5 kB / 479.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.1472, allocations: 111.4 kB / 479.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.1472, allocations: 4 kB / 479.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007398/0.148, allocations: 228.2 kB / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.525e-06/0.148, allocations: 0 / 479.6 MB, free: 3.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001056/0.1491, allocations: 400.7 kB / 480 MB, free: 3.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/0.1493, allocations: 346.1 kB / 480.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/0.1501, allocations: 0.6393 MB / 481 MB, free: 2.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.1502, allocations: 33.7 kB / 481 MB, free: 2.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.1504, allocations: 224.6 kB / 481.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.1505, allocations: 71.09 kB / 481.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1507, allocations: 65.69 kB / 481.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1509, allocations: 366.8 kB / 481.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1511, allocations: 79.94 kB / 481.8 MB, free: 1.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.1515, allocations: 237.1 kB / 482.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.1519, allocations: 239.7 kB / 482.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.152, allocations: 0 / 482.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006822/0.1527, allocations: 316.8 kB / 482.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.1527, allocations: 8 kB / 482.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1527, allocations: 0 / 482.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.1527, allocations: 7.938 kB / 482.6 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.153, allocations: 55.89 kB / 482.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.153, allocations: 4 kB / 482.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.1532, allocations: 31.95 kB / 482.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.1533, allocations: 12 kB / 482.7 MB, free: 384 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002766/0.1536, allocations: 226 kB / 482.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.1537, allocations: 51.34 kB / 483 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.1538, allocations: 59.84 kB / 483.1 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1538, allocations: 4 kB / 483.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1538, allocations: 0 / 483.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1538, allocations: 0 / 483.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.1543, allocations: 409.2 kB / 483.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1543, allocations: 8 kB / 483.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1545, allocations: 27.91 kB / 483.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.1545, allocations: 7.938 kB / 483.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.1545, allocations: 11.94 kB / 483.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1545, allocations: 3.984 kB / 483.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1546, allocations: 4 kB / 483.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.1553, allocations: 354.8 kB / 483.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1554, allocations: 128.5 kB / 484 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.1555, allocations: 19.88 kB / 484 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1557, allocations: 11.98 kB / 484 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1558, allocations: 39.95 kB / 484.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.1559, allocations: 15.98 kB / 484.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005547/0.1564, allocations: 462.8 kB / 484.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1564, allocations: 0 / 484.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004866/0.1569, allocations: 103.9 kB / 484.6 MB, free: 14.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002139/0.1591, allocations: 1.255 MB / 485.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006149/0.1597, allocations: 247.5 kB / 486.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1597, allocations: 0 / 486.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.1601, allocations: 164.1 kB / 486.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.1608, allocations: 148.8 kB / 486.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.1671, allocations: 4.265 MB / 490.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005379/0.1677, allocations: 0.8428 MB / 491.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.168, allocations: 87.19 kB / 491.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.1683, allocations: 163.4 kB / 491.8 MB, free: 7.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1683, allocations: 0 / 491.8 MB, free: 7.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2056, allocations: 12.28 MB / 0.4923 GB, free: 11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.111, allocations: 6.75 kB / 0.4923 GB, free: 10.99 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches