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.001786/0.001786, allocations: 107.8 kB / 16.41 MB, free: 6.496 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.001927/0.001927, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.536/1.536, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2134/0.2134, 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.002029/0.002029, allocations: 67.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1113, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003669/0.1151, allocations: 2.271 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.1177, allocations: 1.466 MB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1179, allocations: 11.94 kB / 0.4911 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.1183, allocations: 139.3 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.1189, allocations: 227 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.1204, allocations: 0.6082 MB / 0.492 GB, free: 7.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006666/0.1211, allocations: 0.5259 MB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1213, allocations: 73.06 kB / 0.4926 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1216, allocations: 219.1 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1219, allocations: 223 kB / 0.493 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.122, allocations: 28 kB / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.1223, allocations: 175.8 kB / 0.4932 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1225, allocations: 127.5 kB / 0.4933 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1228, allocations: 198.7 kB / 0.4935 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007495/0.1236, allocations: 0.5758 MB / 0.4941 GB, free: 5.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1236, allocations: 0 / 0.4941 GB, free: 5.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1236, allocations: 0 / 0.4941 GB, free: 5.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1236, allocations: 0 / 0.4941 GB, free: 5.434 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.001343/0.1249, allocations: 0.909 MB / 0.495 GB, free: 4.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.125, allocations: 11.89 kB / 0.495 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.1251, allocations: 46.73 kB / 0.495 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1252, allocations: 56.61 kB / 0.4951 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.1259, allocations: 464.6 kB / 0.4955 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.1259, allocations: 16.55 kB / 0.4955 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.126, allocations: 23.92 kB / 0.4955 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.1265, allocations: 265.4 kB / 0.4958 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1265, allocations: 4 kB / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1265, allocations: 4 kB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1265, allocations: 4 kB / 0.4958 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.1268, allocations: 111.9 kB / 0.4959 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1281, allocations: 0.8796 MB / 0.4968 GB, free: 2.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/0.1288, allocations: 294.5 kB / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.129, allocations: 107.4 kB / 0.4972 GB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1291, allocations: 8 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004472/0.1295, allocations: 218.6 kB / 0.4974 GB, free: 1.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.1295, allocations: 0 / 0.4974 GB, free: 1.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001015/0.1306, allocations: 409 kB / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000244/0.1308, allocations: 346.1 kB / 0.4981 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.1316, allocations: 0.6315 MB / 0.4987 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.1317, allocations: 37.7 kB / 0.4987 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.1319, allocations: 224.6 kB / 0.499 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.132, allocations: 67.66 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1321, allocations: 65.69 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1323, allocations: 366.8 kB / 0.4994 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1326, allocations: 79.95 kB / 0.4995 GB, free: 15.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.1329, allocations: 241 kB / 0.4997 GB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.1334, allocations: 235.7 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1334, allocations: 0 / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006523/0.1341, allocations: 309.1 kB / 0.5003 GB, free: 14.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1341, allocations: 8 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1342, allocations: 4.125 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1342, allocations: 11.69 kB / 0.5003 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1344, allocations: 55.95 kB / 0.5003 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1345, allocations: 7.938 kB / 0.5003 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1347, allocations: 31.83 kB / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.1347, allocations: 8 kB / 0.5004 GB, free: 14.45 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.0002557/0.135, allocations: 229.9 kB / 0.5006 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.1351, allocations: 51.67 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.1352, allocations: 71.83 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1352, allocations: 4 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1352, allocations: 0 / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1352, allocations: 0 / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.1357, allocations: 409.2 kB / 0.5011 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1357, allocations: 4 kB / 0.5011 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.1359, allocations: 27.97 kB / 0.5011 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1359, allocations: 4 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1359, allocations: 7.938 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.1359, allocations: 7.922 kB / 0.5012 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1359, allocations: 8 kB / 0.5012 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000717/0.1367, allocations: 355 kB / 0.5015 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.1368, allocations: 136.7 kB / 0.5016 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.1369, allocations: 11.94 kB / 0.5017 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.1371, allocations: 23.92 kB / 0.5017 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1372, allocations: 43.89 kB / 0.5017 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.1372, allocations: 11.98 kB / 0.5017 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.1378, allocations: 462.8 kB / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1378, allocations: 0 / 0.5022 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.1382, allocations: 99.92 kB / 0.5023 GB, free: 12.41 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.002626/0.1408, allocations: 1.246 MB / 0.5035 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.1415, allocations: 228.2 kB / 0.5037 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1415, allocations: 0 / 0.5037 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.1419, allocations: 175.8 kB / 0.5039 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007129/0.1426, allocations: 146.1 kB / 0.504 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.1483, allocations: 4.172 MB / 0.5081 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.1489, allocations: 0.8428 MB / 0.5089 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.1492, allocations: 91.19 kB / 0.509 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.1495, allocations: 167.4 kB / 0.5092 GB, free: 5.188 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1495, allocations: 0 / 0.5092 GB, free: 5.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.1867, allocations: 12.47 MB / 0.5213 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.636, allocations: 4.062 kB / 0.5213 GB, free: 8.676 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