Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001061/0.001061, allocations: 110.9 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.001003/0.001003, 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.288/1.288, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.198/0.198, allocations: 43.52 MB / 314.1 MB, free: 476 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.001555/0.001555, allocations: 76.36 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1075, allocations: 57.8 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00325/0.1108, allocations: 1.778 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1126, allocations: 0.8702 MB / 0.4901 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1127, allocations: 4 kB / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000645/0.1134, allocations: 303.3 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.1139, allocations: 207.3 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.1144, allocations: 147.7 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.1147, allocations: 235.4 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.53e-05/0.1148, allocations: 17.53 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.115, allocations: 127.6 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1152, allocations: 191.9 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.1153, allocations: 12 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1154, allocations: 39.98 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1155, allocations: 128.6 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1157, allocations: 146.8 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1161, allocations: 366.2 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1161, allocations: 4 kB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1161, allocations: 0 / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1161, allocations: 0 / 0.4919 GB, free: 7.684 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001095/0.1172, allocations: 0.734 MB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.1173, allocations: 15.89 kB / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1173, allocations: 38.69 kB / 0.4927 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.1175, allocations: 48.61 kB / 0.4927 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.1182, allocations: 456.3 kB / 0.4931 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1182, allocations: 4.375 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1182, allocations: 3.938 kB / 0.4932 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1184, allocations: 95.34 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1185, allocations: 4 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1185, allocations: 0 / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1185, allocations: 0 / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1186, allocations: 35.91 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.119, allocations: 362.4 kB / 0.4936 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.1192, allocations: 113.1 kB / 0.4937 GB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.1193, allocations: 41.69 kB / 0.4938 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.1194, allocations: 0 / 0.4938 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.1196, allocations: 113 kB / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.1196, allocations: 0 / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004802/0.1201, allocations: 201.2 kB / 0.4941 GB, free: 5.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.1202, allocations: 77.11 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1212, allocations: 1.003 MB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1212, allocations: 33.7 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.1214, allocations: 224.1 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.1215, allocations: 39.72 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.1215, allocations: 29.7 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1217, allocations: 366.8 kB / 0.4958 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1218, allocations: 27.98 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.122, allocations: 59.36 kB / 0.4959 GB, free: 3.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1222, allocations: 91.34 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1222, allocations: 7.875 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.1225, allocations: 169.8 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1225, allocations: 4 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1225, allocations: 0 / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1225, allocations: 4 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1227, allocations: 27.98 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1227, allocations: 0 / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1228, allocations: 19.94 kB / 0.4962 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1228, allocations: 4 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002028/0.123, allocations: 225.6 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.1231, allocations: 47.67 kB / 0.4964 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.1232, allocations: 59.84 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1232, allocations: 3.984 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1232, allocations: 4 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1232, allocations: 4 kB / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1235, allocations: 337.3 kB / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1235, allocations: 0 / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.1235, allocations: 8 kB / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1235, allocations: 0 / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1235, allocations: 3.984 kB / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1236, allocations: 4 kB / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1236, allocations: 0 / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.1239, allocations: 205.5 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.124, allocations: 140.8 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.1241, allocations: 0 / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.1242, allocations: 11.98 kB / 0.4972 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1243, allocations: 7.984 kB / 0.4972 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1243, allocations: 4 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007623/0.1251, allocations: 0.7526 MB / 0.4979 GB, free: 1.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1251, allocations: 4 kB / 0.4979 GB, free: 1.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.1253, allocations: 40 kB / 0.498 GB, free: 1.051 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001446/0.1268, allocations: 1.061 MB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.1271, allocations: 83.98 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1271, allocations: 0 / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1272, allocations: 39.97 kB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.1276, allocations: 62.72 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.1329, allocations: 4.416 MB / 0.5035 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.1335, allocations: 0.8427 MB / 0.5043 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.1336, allocations: 54.94 kB / 0.5044 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.1338, allocations: 139.4 kB / 0.5045 GB, free: 10.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1338, allocations: 0 / 0.5045 GB, free: 10.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.1614, allocations: 8.793 MB / 0.5131 GB, free: 1.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.255, allocations: 3.906 kB / 0.5131 GB, free: 1.406 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime