Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001428/0.001428, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001172/0.001172, allocations: 192 kB / 18.55 MB, free: 4.566 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.33/1.33, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2059/0.2059, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.8 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1231, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003357/0.1265, allocations: 1.714 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1283, allocations: 0.8847 MB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1284, allocations: 0 / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1288, allocations: 91.69 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1292, allocations: 71.72 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.1296, allocations: 119.1 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.1299, allocations: 115.7 kB / 472.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.13, allocations: 12 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.1301, allocations: 59.75 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1303, allocations: 71.69 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1303, allocations: 4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.1304, allocations: 55.92 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.1305, allocations: 27.91 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.1306, allocations: 47.72 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1308, allocations: 127.8 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1308, allocations: 0 / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1308, allocations: 3.984 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1308, allocations: 0 / 472.8 MB, free: 10.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005715/0.1314, allocations: 422.9 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1315, allocations: 12.03 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1315, allocations: 34.75 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1316, allocations: 20.75 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1318, allocations: 220 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1318, allocations: 8.312 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1319, allocations: 11.84 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.132, allocations: 61.66 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.132, allocations: 0 / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.132, allocations: 0 / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1321, allocations: 0 / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.1321, allocations: 23.98 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.1326, allocations: 308.7 kB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.1328, allocations: 58.55 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.1329, allocations: 16.98 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1329, allocations: 4 kB / 473.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.1332, allocations: 79.31 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1332, allocations: 0 / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007903/0.134, allocations: 229.1 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.134, allocations: 55.34 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.1343, allocations: 230.5 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1343, allocations: 29.7 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.1344, allocations: 108.1 kB / 474.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.1345, allocations: 39.61 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1345, allocations: 33.7 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1347, allocations: 322.8 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1347, allocations: 31.98 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.1348, allocations: 45.64 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.135, allocations: 81.64 kB / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.135, allocations: 0 / 475.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002075/0.1352, allocations: 125.4 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1352, allocations: 4 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1352, allocations: 4 kB / 475.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1352, allocations: 7.922 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1353, allocations: 23.94 kB / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1353, allocations: 0 / 475.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.1354, allocations: 7.984 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1354, allocations: 4 kB / 475.4 MB, free: 8 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 0.0001098/0.1355, allocations: 134.9 kB / 475.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1356, allocations: 23.73 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.1356, allocations: 17.41 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1356, allocations: 7.938 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1356, allocations: 0 / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1356, allocations: 0 / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.1362, allocations: 452.1 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1362, allocations: 3.938 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.1362, allocations: 12 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1362, allocations: 0 / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1363, allocations: 11.98 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1363, allocations: 0.7031 kB / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1363, allocations: 0 / 476 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1366, allocations: 237.2 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.1366, allocations: 92.89 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1366, allocations: 4 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.1367, allocations: 8 kB / 476.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.1368, allocations: 11.92 kB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1368, allocations: 4 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1369, allocations: 167.2 kB / 476.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1369, allocations: 0 / 476.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1372, allocations: 39.98 kB / 476.6 MB, free: 6.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001608/0.1388, allocations: 1.173 MB / 477.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.1391, allocations: 87.91 kB / 477.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1391, allocations: 0 / 477.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.1392, allocations: 43.86 kB / 477.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1396, allocations: 27.98 kB / 477.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1417, allocations: 1.812 MB / 479.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.142, allocations: 0.7155 MB / 480.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.1421, allocations: 20.62 kB / 480.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1422, allocations: 43.42 kB / 480.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1422, allocations: 0 / 480.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1639, allocations: 3.776 MB / 484.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.763, allocations: 15.03 kB / 484.3 MB, free: 15.13 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches