Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001285/0.001285, allocations: 113.3 kB / 16.4 MB, free: 6.367 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.001239/0.00124, allocations: 196.2 kB / 17.34 MB, free: 5.844 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.459/1.459, 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.2137/0.2137, allocations: 43.52 MB / 314.1 MB, free: 460 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.001986/0.001986, allocations: 69.98 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1184, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003288/0.1217, allocations: 1.704 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1231, allocations: 0.8311 MB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.1232, allocations: 0 / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.1236, allocations: 39.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.1238, allocations: 51.77 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.1241, allocations: 99.69 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.1242, allocations: 91.75 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.1243, allocations: 12.22 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.1244, allocations: 47.77 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.1245, allocations: 31.8 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1245, allocations: 4 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1247, allocations: 67.95 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.1247, allocations: 23.86 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.1248, allocations: 31.81 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.125, allocations: 127.5 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1251, allocations: 4 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1251, allocations: 0 / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1251, allocations: 0 / 0.4905 GB, free: 9.043 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006042/0.1257, allocations: 410.8 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1257, allocations: 11.89 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.1258, allocations: 34.75 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1258, allocations: 16.84 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1261, allocations: 211.6 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1261, allocations: 384 / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1262, allocations: 11.94 kB / 0.4912 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1264, allocations: 71.38 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1264, allocations: 3.953 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1264, allocations: 4 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1264, allocations: 0 / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.1265, allocations: 23.92 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.1269, allocations: 300.8 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1271, allocations: 50.56 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.1272, allocations: 24.97 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1272, allocations: 4 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1274, allocations: 79.31 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 5.129e-06/0.1274, allocations: 0 / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005688/0.128, allocations: 193.3 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.128, allocations: 81.09 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1282, allocations: 149.8 kB / 0.4922 GB, free: 7.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1282, allocations: 25.7 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.1283, allocations: 100.1 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1284, allocations: 31.75 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.1284, allocations: 25.7 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1286, allocations: 322.8 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.1286, allocations: 20 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.1287, allocations: 46.55 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1289, allocations: 65.69 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1289, allocations: 0 / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002/0.1291, allocations: 105.6 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1291, allocations: 4 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1291, allocations: 0 / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1291, allocations: 4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.1292, allocations: 15.98 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1292, allocations: 3.938 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1293, allocations: 11.94 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1293, allocations: 4 kB / 0.4929 GB, free: 6.367 MB / 382.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 (11): * Single equations (assignments): 11 * 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.000109/0.1294, allocations: 129.6 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1295, allocations: 11.95 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1297, allocations: 118.4 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1297, allocations: 0 / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1297, allocations: 0 / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1298, allocations: 3.938 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.1302, allocations: 403.3 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1303, allocations: 0 / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.1303, allocations: 20 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1303, allocations: 7.875 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-06/0.1303, allocations: 0 / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1304, allocations: 7.984 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1304, allocations: 0 / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1306, allocations: 204.3 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1307, allocations: 85.06 kB / 0.4938 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1307, allocations: 7.938 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.1308, allocations: 7.984 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1308, allocations: 4 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1309, allocations: 7.938 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.131, allocations: 118.7 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.131, allocations: 0 / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1313, allocations: 35.92 kB / 0.494 GB, free: 5.109 MB / 382.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 (9): * Single equations (assignments): 7 * 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.002294/0.1336, allocations: 1.147 MB / 0.4951 GB, free: 3.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1338, allocations: 67.91 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1338, allocations: 0 / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.1339, allocations: 36.05 kB / 0.4952 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1342, allocations: 31.91 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.1361, allocations: 1.578 MB / 0.4968 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.1365, allocations: 0.6963 MB / 0.4975 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.1366, allocations: 29.11 kB / 0.4975 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.1366, allocations: 31.42 kB / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1367, allocations: 0 / 0.4976 GB, free: 1.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1631, allocations: 3.648 MB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.144, allocations: 4 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches