Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_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.0011/0.0011, allocations: 106.3 kB / 17.63 MB, free: 5.344 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.001111/0.001111, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2836/0.2836, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.36 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002815/0.1079, allocations: 1.708 MB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1092, allocations: 0.9041 MB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.717e-05/0.1093, allocations: 0 / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1095, allocations: 35.78 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1098, allocations: 55.75 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.11, allocations: 111.6 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.1102, allocations: 95.7 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.1103, allocations: 16.22 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.686e-05/0.1104, allocations: 47.78 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.1105, allocations: 31.83 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1105, allocations: 8 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1106, allocations: 59.92 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1107, allocations: 19.92 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.1108, allocations: 31.8 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.111, allocations: 127.9 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.111, allocations: 0 / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.111, allocations: 0 / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.111, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004998/0.1115, allocations: 407.1 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1116, allocations: 11.97 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.1116, allocations: 34.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1116, allocations: 12.78 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1119, allocations: 200.2 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1119, allocations: 4.375 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1119, allocations: 7.938 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.1121, allocations: 75.38 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1121, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1121, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1121, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.1122, allocations: 23.92 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.1125, allocations: 276.8 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1127, allocations: 70.61 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.1128, allocations: 28.97 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1128, allocations: 3.984 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.113, allocations: 75.23 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.113, allocations: 0 / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005403/0.1135, allocations: 197.3 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1136, allocations: 77.11 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1138, allocations: 163.5 kB / 474.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1138, allocations: 29.64 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1139, allocations: 96.14 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.1139, allocations: 39.53 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.114, allocations: 25.7 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1141, allocations: 330.8 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.734e-05/0.1142, allocations: 23.98 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.78e-05/0.1142, allocations: 54.5 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1144, allocations: 77.64 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1144, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002225/0.1146, allocations: 121.5 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1147, allocations: 12.05 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1147, allocations: 0 / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1147, allocations: 3.938 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.1148, allocations: 24 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1148, allocations: 0 / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.1149, allocations: 3.984 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1149, allocations: 8 kB / 475.1 MB, free: 8.258 MB / 350.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 (13): * Single equations (assignments): 13 * 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 9.119e-05/0.115, allocations: 121.8 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.115, allocations: 11.81 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.1151, allocations: 20.7 kB / 475.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1151, allocations: 3.938 kB / 475.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1151, allocations: 4 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1151, allocations: 0 / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.1156, allocations: 415.2 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1156, allocations: 3.984 kB / 475.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.1156, allocations: 19.97 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1156, allocations: 0 / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1157, allocations: 4 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1157, allocations: 0 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1157, allocations: 0 / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1159, allocations: 224.2 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.116, allocations: 88.92 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.116, allocations: 8 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.1161, allocations: 4 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1161, allocations: 7.984 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1161, allocations: 4 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.699e-05/0.1162, allocations: 120.9 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1162, allocations: 0 / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1165, allocations: 35.98 kB / 476.1 MB, free: 7.074 MB / 350.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 (10): * Single equations (assignments): 8 * 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.001483/0.118, allocations: 1.176 MB / 477.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1182, allocations: 71.91 kB / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1182, allocations: 0 / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.1183, allocations: 44.05 kB / 477.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1187, allocations: 30.22 kB / 477.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.1203, allocations: 1.617 MB / 479.1 MB, free: 4.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1206, allocations: 0.7038 MB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.254e-05/0.1206, allocations: 16.8 kB / 479.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.374e-05/0.1207, allocations: 31.42 kB / 479.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of SimCode: time 1.994e-06/0.1207, allocations: 4 kB / 479.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.1416, allocations: 3.682 MB / 483.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.921, allocations: 11.98 kB / 483.5 MB, free: 15.84 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches