Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001534/0.001535, allocations: 99.22 kB / 16.27 MB, free: 5.957 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.002148/0.002149, allocations: 187.6 kB / 17.19 MB, free: 5.594 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.71/1.71, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2314/0.2314, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.001728/0.001728, allocations: 67.61 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1141, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003298/0.1174, allocations: 1.79 MB / 442.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1189, allocations: 0.8701 MB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1191, allocations: 3.938 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1196, allocations: 307.3 kB / 443.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.12, allocations: 215.4 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1204, allocations: 139.4 kB / 443.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.1208, allocations: 239.4 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.1209, allocations: 17.83 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.1211, allocations: 123.5 kB / 444.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1213, allocations: 191.5 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.1214, allocations: 8 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1215, allocations: 39.98 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1216, allocations: 139.6 kB / 444.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1218, allocations: 154.8 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.1222, allocations: 354.7 kB / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1222, allocations: 0 / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1222, allocations: 0 / 445.2 MB, free: 2.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.1222, allocations: 4 kB / 445.2 MB, free: 2.219 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.001015/0.1233, allocations: 0.7306 MB / 445.9 MB, free: 1.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1233, allocations: 11.89 kB / 445.9 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.1234, allocations: 38.75 kB / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1235, allocations: 48.36 kB / 446 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.1241, allocations: 443.9 kB / 446.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1241, allocations: 384 / 446.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1241, allocations: 15.86 kB / 446.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1243, allocations: 87.31 kB / 446.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1244, allocations: 0 / 446.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1244, allocations: 0 / 446.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1244, allocations: 0 / 446.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1245, allocations: 31.97 kB / 446.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1249, allocations: 378.4 kB / 446.9 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.1252, allocations: 117 kB / 447.1 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.1252, allocations: 37.7 kB / 447.1 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1253, allocations: 0 / 447.1 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.1256, allocations: 113 kB / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.1256, allocations: 0 / 447.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.000502/0.1261, allocations: 201.1 kB / 447.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1261, allocations: 81.11 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.1273, allocations: 1.038 MB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1273, allocations: 29.7 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1275, allocations: 236.1 kB / 448.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.1276, allocations: 23.7 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.1276, allocations: 25.72 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1278, allocations: 366.8 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.556e-05/0.1279, allocations: 27.98 kB / 449.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.128, allocations: 63.41 kB / 449.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.1282, allocations: 83.36 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1283, allocations: 3.938 kB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003265/0.1286, allocations: 172.9 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1286, allocations: 8.062 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1286, allocations: 0 / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1286, allocations: 4 kB / 449.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1288, allocations: 19.98 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.1288, allocations: 4 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1289, allocations: 15.84 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1289, allocations: 7.984 kB / 449.6 MB, free: 13.52 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.0002253/0.1292, allocations: 230 kB / 449.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.1292, allocations: 43.44 kB / 449.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.156e-05/0.1293, allocations: 64 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1293, allocations: 0 / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1294, allocations: 7.922 kB / 449.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1294, allocations: 11.98 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.1297, allocations: 341.3 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1297, allocations: 4 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.1297, allocations: 7.984 kB / 450.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1297, allocations: 0 / 450.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1298, allocations: 4 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1298, allocations: 3.938 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1298, allocations: 4 kB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1301, allocations: 205.2 kB / 450.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1303, allocations: 136.5 kB / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.1303, allocations: 3.984 kB / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.1304, allocations: 4 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1305, allocations: 11.98 kB / 450.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1305, allocations: 11.94 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008253/0.1313, allocations: 0.7721 MB / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1313, allocations: 0 / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1316, 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.001591/0.1332, allocations: 1.052 MB / 452.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1335, 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.275e-06/0.1335, allocations: 0 / 452.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1336, allocations: 47.91 kB / 452.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1341, allocations: 67.53 kB / 452.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.1402, allocations: 4.631 MB / 457.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.1407, allocations: 0.8466 MB / 458.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.1409, allocations: 59.45 kB / 458.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.1411, allocations: 151.4 kB / 458.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1411, allocations: 0 / 458.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.1711, allocations: 8.77 MB / 467.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/7.783, allocations: 0 / 467.2 MB, free: 11.72 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_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_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=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