Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001521/0.001522, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001305/0.001305, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.296/1.296, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2022/0.2022, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001662, allocations: 68.39 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1238, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003053/0.1269, allocations: 1.695 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1282, allocations: 0.873 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1283, allocations: 4 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.1286, allocations: 43.75 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1288, allocations: 55.77 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1291, allocations: 111.5 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1293, allocations: 99.69 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.1294, allocations: 4.234 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.1295, allocations: 43.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.1295, allocations: 31.84 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1296, allocations: 4 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.1297, allocations: 39.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1297, allocations: 23.92 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.1298, allocations: 47.64 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.13, allocations: 103.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.13, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.13, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.13, allocations: 0 / 472.5 MB, free: 11.07 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.0005431/0.1306, allocations: 417.9 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1306, allocations: 12.03 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.1307, allocations: 34.73 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.1307, allocations: 12.75 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.1309, allocations: 208 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1309, allocations: 384 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.131, allocations: 11.92 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1311, allocations: 53.67 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1312, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1312, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1312, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.1313, allocations: 19.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1316, allocations: 280.9 kB / 473.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1319, allocations: 62.62 kB / 473.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.1319, allocations: 28.78 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.132, allocations: 0 / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1322, allocations: 67.39 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1322, allocations: 0 / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005568/0.1328, allocations: 173.2 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1328, allocations: 51.41 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.133, allocations: 198.1 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.133, allocations: 25.7 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.1331, allocations: 104.1 kB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1331, allocations: 23.7 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.1332, allocations: 21.72 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1333, allocations: 326.8 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.1334, allocations: 19.98 kB / 474.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.1335, allocations: 45.64 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1336, allocations: 57.77 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1337, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1339, allocations: 109.4 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1339, allocations: 4 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1339, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1339, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.134, allocations: 19.98 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.134, allocations: 4.031 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.1341, allocations: 7.875 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1341, allocations: 8 kB / 474.9 MB, free: 8.461 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 (10): * Single equations (assignments): 10 * 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.0001048/0.1342, allocations: 121.8 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1342, allocations: 11.91 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.1343, allocations: 12.72 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1343, allocations: 0 / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1343, allocations: 3.984 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1343, allocations: 3.938 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.1347, allocations: 391.3 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1348, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.1348, allocations: 8 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1348, allocations: 4.312 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1348, allocations: 4 kB / 475.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1348, allocations: 4 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1348, allocations: 3.938 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.1351, allocations: 220.1 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.1352, allocations: 85.02 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1352, allocations: 3.938 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1353, allocations: 8 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.1353, allocations: 7.984 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1353, allocations: 4 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1354, allocations: 147.2 kB / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1354, allocations: 0 / 475.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1357, allocations: 24 kB / 475.9 MB, free: 7.305 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 (8): * Single equations (assignments): 6 * 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.001365/0.1371, allocations: 1.095 MB / 477 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1373, allocations: 63.89 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1373, allocations: 0 / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.1374, allocations: 27.98 kB / 477.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1378, allocations: 32.83 kB / 477.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1396, allocations: 1.631 MB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1399, allocations: 0.7002 MB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1399, allocations: 17.17 kB / 479.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.14, allocations: 39.36 kB / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.14, allocations: 0 / 479.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.1607, allocations: 3.296 MB / 482.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.772, allocations: 9.812 kB / 482.9 MB, free: 0.5195 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches