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.001073/0.001073, allocations: 101.4 kB / 16.4 MB, free: 6 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.001006/0.001006, allocations: 193.3 kB / 17.34 MB, free: 5.582 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.278/1.278, 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.2841/0.2841, allocations: 43.52 MB / 314.1 MB, free: 444 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.00133/0.00133, allocations: 73.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09933, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003236/0.1026, allocations: 2.279 MB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1048, allocations: 1.458 MB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.1049, allocations: 7.938 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.1053, allocations: 147.3 kB / 0.4912 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.1058, allocations: 227 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1071, allocations: 0.6082 MB / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.1076, allocations: 0.5298 MB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1078, allocations: 81.05 kB / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.108, allocations: 227.1 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.1083, allocations: 219 kB / 0.493 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.1083, allocations: 24 kB / 0.493 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1086, allocations: 171.8 kB / 0.4932 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1088, allocations: 123.6 kB / 0.4933 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1089, allocations: 198.7 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.1095, allocations: 0.5758 MB / 0.4941 GB, free: 5.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1095, allocations: 0 / 0.4941 GB, free: 5.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1096, allocations: 4 kB / 0.4941 GB, free: 5.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1096, allocations: 0 / 0.4941 GB, free: 5.406 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.00114/0.1107, allocations: 0.9057 MB / 0.495 GB, free: 4.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1108, allocations: 11.89 kB / 0.495 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.1108, allocations: 50.72 kB / 0.495 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.1109, allocations: 52.61 kB / 0.4951 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.1116, allocations: 476.6 kB / 0.4955 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1116, allocations: 8.609 kB / 0.4955 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1116, allocations: 23.92 kB / 0.4956 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.1121, allocations: 257.4 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1121, allocations: 0 / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1121, allocations: 8 kB / 0.4958 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1122, allocations: 4 kB / 0.4958 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.1124, allocations: 115.8 kB / 0.4959 GB, free: 3.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009967/0.1135, allocations: 0.8718 MB / 0.4968 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.1141, allocations: 290.5 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.1143, allocations: 111.4 kB / 0.4972 GB, free: 1.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1144, allocations: 16.02 kB / 0.4972 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.1148, allocations: 222.4 kB / 0.4974 GB, free: 1.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.1148, allocations: 4 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009233/0.1157, allocations: 401.1 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.1159, allocations: 346.1 kB / 0.4981 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.1165, allocations: 0.6355 MB / 0.4987 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.1166, allocations: 33.7 kB / 0.4988 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1167, allocations: 224.7 kB / 0.499 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.1168, allocations: 71.38 kB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.566e-05/0.1169, allocations: 65.69 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1171, allocations: 366.8 kB / 0.4994 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.1173, allocations: 75.95 kB / 0.4995 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.1176, allocations: 245.7 kB / 0.4998 GB, free: 15.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.1181, allocations: 234.7 kB / 0.5 GB, free: 14.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1181, allocations: 0 / 0.5 GB, free: 14.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006031/0.1187, allocations: 317.2 kB / 0.5003 GB, free: 14.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1187, allocations: 8 kB / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1187, allocations: 0 / 0.5003 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1188, allocations: 7.938 kB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.119, allocations: 55.89 kB / 0.5003 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.119, allocations: 7.984 kB / 0.5004 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1192, allocations: 32.08 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1193, allocations: 15.94 kB / 0.5004 GB, free: 14.41 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.0002128/0.1195, allocations: 229.7 kB / 0.5006 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.883e-05/0.1196, allocations: 55.66 kB / 0.5007 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.1197, allocations: 59.84 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1197, allocations: 4 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1197, allocations: 0 / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.1197, allocations: 4 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.12, allocations: 405.2 kB / 0.5011 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1201, allocations: 0 / 0.5011 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.1202, allocations: 31.91 kB / 0.5012 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1202, allocations: 0 / 0.5012 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.1202, allocations: 15.94 kB / 0.5012 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.1202, allocations: 7.984 kB / 0.5012 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1202, allocations: 0 / 0.5012 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.1208, allocations: 363 kB / 0.5015 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.121, allocations: 132.7 kB / 0.5017 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.121, allocations: 15.94 kB / 0.5017 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1212, allocations: 11.98 kB / 0.5017 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.1213, allocations: 39.95 kB / 0.5017 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.1213, allocations: 19.98 kB / 0.5017 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004573/0.1218, allocations: 466.8 kB / 0.5022 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1218, allocations: 3.938 kB / 0.5022 GB, free: 12.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000373/0.1222, allocations: 91.92 kB / 0.5023 GB, free: 12.38 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.001824/0.124, allocations: 1.253 MB / 0.5035 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005372/0.1246, allocations: 224.2 kB / 0.5037 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1246, allocations: 3.938 kB / 0.5037 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.1249, allocations: 167.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.000658/0.1256, allocations: 150.6 kB / 0.504 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.1305, allocations: 4.179 MB / 0.5081 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1309, allocations: 0.8428 MB / 0.5089 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.1311, allocations: 87.2 kB / 0.509 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.1314, allocations: 167.4 kB / 0.5092 GB, free: 5.156 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1314, allocations: 0 / 0.5092 GB, free: 5.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.1621, allocations: 12.46 MB / 0.5213 GB, free: 8.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.495, allocations: 4.062 kB / 0.5213 GB, free: 8.656 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