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.001059/0.001063, allocations: 106.1 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.001059/0.001059, allocations: 185.5 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.407/1.407, 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.2463/0.2463, allocations: 43.53 MB / 314.1 MB, free: 464 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.001588/0.001588, allocations: 75.88 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1235, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003203/0.1268, allocations: 1.708 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1282, allocations: 0.8156 MB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.1283, allocations: 7.875 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1287, allocations: 39.83 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.1289, allocations: 59.69 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.1292, allocations: 87.77 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1294, allocations: 95.75 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.1295, allocations: 8.219 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1297, allocations: 51.77 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.1298, allocations: 39.72 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1298, allocations: 4 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.13, allocations: 63.97 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.13, allocations: 19.92 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.1301, allocations: 35.8 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1303, allocations: 131.5 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1304, allocations: 0 / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1304, allocations: 0 / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1304, allocations: 0 / 0.4906 GB, free: 9.062 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.0005499/0.1309, allocations: 414.2 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.131, allocations: 11.89 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.131, allocations: 34.75 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.1311, allocations: 12.84 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1314, allocations: 204.2 kB / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1314, allocations: 8.359 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1314, allocations: 7.922 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.1316, allocations: 75.33 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1317, allocations: 3.953 kB / 0.4913 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1317, allocations: 7.984 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1317, allocations: 0 / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.1318, allocations: 23.98 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1322, allocations: 292.8 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1324, allocations: 58.48 kB / 0.4917 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.1324, allocations: 24.98 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1325, allocations: 0 / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.1326, allocations: 75.38 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1326, allocations: 0 / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005488/0.1332, allocations: 189.3 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.1333, allocations: 84.98 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.1334, allocations: 153.8 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1335, allocations: 25.7 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.1335, allocations: 96.12 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1336, allocations: 35.73 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.1336, allocations: 25.72 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1337, allocations: 322.8 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.1338, allocations: 23.98 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.1339, allocations: 42.56 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.134, allocations: 69.67 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.134, allocations: 0 / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.1342, allocations: 101.6 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1342, allocations: 4 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1343, allocations: 0 / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1343, allocations: 4 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.1344, allocations: 15.98 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1344, allocations: 4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.1344, allocations: 3.938 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.1345, allocations: 8 kB / 0.4929 GB, free: 6.391 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.0001115/0.1346, allocations: 133.7 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1346, allocations: 7.953 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1349, allocations: 114.5 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1349, allocations: 3.938 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1349, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1349, allocations: 3.938 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.1353, allocations: 403.3 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1354, allocations: 8 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.1354, allocations: 8 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.1354, allocations: 7.922 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1354, allocations: 11.94 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.1354, allocations: 0 / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1355, allocations: 0 / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1357, allocations: 208.3 kB / 0.4938 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1358, allocations: 81.06 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1358, allocations: 11.92 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1359, allocations: 4 kB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1359, allocations: 4 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1359, allocations: 7.984 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.136, allocations: 114.9 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1361, allocations: 4 kB / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1363, allocations: 31.92 kB / 0.494 GB, free: 5.133 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.001589/0.1379, allocations: 1.149 MB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1381, allocations: 67.91 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1381, allocations: 0 / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.1382, allocations: 39.98 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.1386, allocations: 27.2 kB / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1402, allocations: 1.578 MB / 0.4968 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1405, allocations: 0.6963 MB / 0.4975 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.1406, allocations: 25.17 kB / 0.4975 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.1407, allocations: 39.41 kB / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1407, allocations: 0 / 0.4976 GB, free: 1.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1633, allocations: 3.644 MB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/7.797, allocations: 64 / 0.5011 GB, free: 13.7 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