Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.00121/0.00121, allocations: 101.7 kB / 16.26 MB, free: 5.973 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.001098/0.001098, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.671/1.671, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.232/0.232, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 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.001775/0.001775, allocations: 69.33 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1126, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002762/0.1154, allocations: 1.782 MB / 442.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1166, allocations: 0.874 MB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1168, allocations: 4 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.1173, allocations: 307.3 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.1176, allocations: 219.3 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1179, allocations: 135.7 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1182, allocations: 243.4 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1182, allocations: 5.844 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1184, allocations: 127.6 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1185, allocations: 195.5 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1186, allocations: 4 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.1187, allocations: 39.98 kB / 444.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1188, allocations: 135.6 kB / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.1189, allocations: 158.7 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1191, allocations: 362.7 kB / 445.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1192, allocations: 0 / 445.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1192, allocations: 0 / 445.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1192, allocations: 0 / 445.2 MB, free: 2.211 MB / 318.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.0007233/0.1199, allocations: 0.7229 MB / 445.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.12, allocations: 15.89 kB / 445.9 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.804e-05/0.12, allocations: 38.69 kB / 446 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1201, allocations: 48.38 kB / 446 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.1205, allocations: 443.8 kB / 446.4 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1205, allocations: 4.375 kB / 446.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1205, allocations: 7.938 kB / 446.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1207, allocations: 83.36 kB / 446.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1207, allocations: 3.938 kB / 446.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1207, allocations: 4 kB / 446.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1207, allocations: 3.938 kB / 446.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.1208, allocations: 31.97 kB / 446.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.1211, allocations: 374.4 kB / 446.9 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1213, allocations: 109.1 kB / 447 MB, free: 168 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.1214, allocations: 45.7 kB / 447.1 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1214, allocations: 3.938 kB / 447.1 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.1217, allocations: 117 kB / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1217, allocations: 0 / 447.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004941/0.1222, allocations: 196.9 kB / 447.4 MB, free: 15.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.1223, allocations: 81.11 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.1233, allocations: 1.038 MB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.1233, allocations: 29.7 kB / 448.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1235, allocations: 232.1 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.1236, allocations: 19.72 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1236, allocations: 33.7 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1238, allocations: 362.8 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.1238, allocations: 31.98 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.385e-05/0.1239, allocations: 62.66 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.1241, allocations: 87.36 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1241, allocations: 3.938 kB / 449.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002746/0.1244, allocations: 169.6 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1244, allocations: 4 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1245, allocations: 4 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1245, allocations: 3.938 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1246, allocations: 23.98 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1246, allocations: 0 / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.1247, allocations: 19.84 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1247, allocations: 4 kB / 449.6 MB, free: 13.51 MB / 334.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.0001999/0.1249, allocations: 237.6 kB / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.125, allocations: 47.44 kB / 449.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.845e-05/0.1251, allocations: 59.98 kB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1251, allocations: 4 kB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1251, allocations: 0 / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1251, allocations: 0 / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.1254, allocations: 353.2 kB / 450.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1254, allocations: 0 / 450.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1255, allocations: 8 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1255, allocations: 7.984 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.1255, allocations: 0 / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1255, allocations: 4 kB / 450.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1255, allocations: 0 / 450.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1258, allocations: 205.2 kB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1259, allocations: 136.4 kB / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.126, allocations: 0 / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1261, allocations: 11.98 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1261, allocations: 11.98 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1262, allocations: 4 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008189/0.127, allocations: 0.7721 MB / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.127, allocations: 0 / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1273, allocations: 44 kB / 451.5 MB, free: 11.53 MB / 334.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.0016/0.1289, allocations: 1.057 MB / 452.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.1292, allocations: 79.91 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1292, allocations: 3.938 kB / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1293, allocations: 43.92 kB / 452.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1298, allocations: 79.95 kB / 452.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.1355, allocations: 4.635 MB / 457.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.136, allocations: 0.8388 MB / 458.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.1362, allocations: 54.94 kB / 458.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.1364, allocations: 155.4 kB / 458.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.1364, allocations: 0 / 458.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.1653, allocations: 8.758 MB / 467.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/7.884, allocations: 12 kB / 467.2 MB, free: 11.71 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_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_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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