Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_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.001571/0.001571, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001194/0.001194, allocations: 189.5 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2463/0.2463, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 69.45 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1115, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004055/0.1156, allocations: 2.271 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.1185, allocations: 1.462 MB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1188, allocations: 11.94 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.1194, allocations: 143.3 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000825/0.1203, allocations: 234.9 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.1222, allocations: 0.6121 MB / 0.492 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007741/0.123, allocations: 0.5298 MB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1232, allocations: 73.06 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.1236, allocations: 227.1 kB / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.124, allocations: 215.1 kB / 0.493 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.1241, allocations: 28 kB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000419/0.1246, allocations: 175.8 kB / 0.4932 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.1248, allocations: 127.5 kB / 0.4933 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.125, allocations: 198.7 kB / 0.4935 GB, free: 6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.1259, allocations: 0.5758 MB / 0.4941 GB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.1259, allocations: 0 / 0.4941 GB, free: 5.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1259, allocations: 0 / 0.4941 GB, free: 5.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.126, allocations: 0 / 0.4941 GB, free: 5.422 MB / 382.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.001492/0.1275, allocations: 0.909 MB / 0.495 GB, free: 4.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1275, allocations: 11.89 kB / 0.495 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.836e-05/0.1276, allocations: 46.73 kB / 0.495 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1277, allocations: 56.61 kB / 0.4951 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.1286, allocations: 472.5 kB / 0.4955 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.1286, allocations: 12.61 kB / 0.4955 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.1286, allocations: 15.94 kB / 0.4956 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.1291, allocations: 273.4 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1292, allocations: 0 / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1292, allocations: 4 kB / 0.4958 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1292, allocations: 4 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.1295, allocations: 111.9 kB / 0.4959 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.1307, allocations: 0.8797 MB / 0.4968 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.1314, allocations: 294.5 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.1316, allocations: 107.4 kB / 0.4972 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.1317, allocations: 8 kB / 0.4972 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/0.1321, allocations: 222.4 kB / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.1321, allocations: 0 / 0.4974 GB, free: 1.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001035/0.1332, allocations: 409 kB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.1334, allocations: 342.1 kB / 0.4981 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.1342, allocations: 0.6316 MB / 0.4987 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1342, allocations: 37.69 kB / 0.4988 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.1344, allocations: 220.6 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.1346, allocations: 71.53 kB / 0.499 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.1347, allocations: 65.7 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1348, allocations: 366.8 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1351, allocations: 83.89 kB / 0.4995 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.1354, allocations: 241.1 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.1359, allocations: 231.7 kB / 0.5 GB, free: 14.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1359, allocations: 0 / 0.5 GB, free: 14.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006583/0.1366, allocations: 313.1 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1366, allocations: 8 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1366, allocations: 4.125 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1367, allocations: 7.938 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1369, allocations: 55.91 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1369, allocations: 7.984 kB / 0.5004 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1372, allocations: 27.84 kB / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1372, allocations: 15.98 kB / 0.5004 GB, free: 14.43 MB / 398.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.0003119/0.1375, allocations: 225.9 kB / 0.5006 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.1376, allocations: 51.67 kB / 0.5007 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.1377, allocations: 67.84 kB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1377, allocations: 4 kB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1378, allocations: 0 / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1378, allocations: 3.984 kB / 0.5007 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004415/0.1382, allocations: 401.2 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1382, allocations: 4 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.1384, allocations: 27.92 kB / 0.5011 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.1384, allocations: 7.984 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.1384, allocations: 7.938 kB / 0.5012 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1384, allocations: 0 / 0.5012 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1384, allocations: 8 kB / 0.5012 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007185/0.1392, allocations: 363 kB / 0.5015 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1393, allocations: 136.7 kB / 0.5016 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.1394, allocations: 11.94 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.1396, allocations: 23.92 kB / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1397, allocations: 43.89 kB / 0.5017 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.1398, allocations: 11.98 kB / 0.5017 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005634/0.1403, allocations: 462.8 kB / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1403, allocations: 0 / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004805/0.1408, allocations: 99.92 kB / 0.5023 GB, free: 12.4 MB / 398.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.002205/0.143, allocations: 1.263 MB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006016/0.1437, allocations: 228.2 kB / 0.5037 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1437, allocations: 0 / 0.5037 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.144, allocations: 171.8 kB / 0.5039 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.1447, allocations: 138.4 kB / 0.504 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007156/0.1519, allocations: 4.172 MB / 0.5081 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.1525, allocations: 0.8428 MB / 0.5089 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003707/0.1528, allocations: 87.2 kB / 0.509 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.1532, allocations: 163.4 kB / 0.5092 GB, free: 5.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1532, allocations: 0 / 0.5092 GB, free: 5.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.1878, allocations: 12.47 MB / 0.5213 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.707/8.895, allocations: 12.05 kB / 0.5213 GB, free: 8.668 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches