Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 76.69 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1218, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003274/0.1251, allocations: 1.736 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.127, allocations: 1.037 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.1271, allocations: 3.938 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1274, allocations: 39.77 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.1277, allocations: 87.59 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.128, allocations: 75.69 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.1282, allocations: 115.7 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1283, allocations: 11.94 kB / 483.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.1284, allocations: 47.78 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1285, allocations: 43.77 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1286, allocations: 4 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.1289, allocations: 111.9 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.129, allocations: 19.92 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.1291, allocations: 39.78 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.1295, allocations: 171.8 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1295, allocations: 4 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1295, allocations: 0 / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1296, allocations: 0 / 483.7 MB, free: 1.629 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.0007677/0.1303, allocations: 431 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1304, allocations: 11.97 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.1305, allocations: 34.75 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.1305, allocations: 8.844 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1309, allocations: 204.2 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1309, allocations: 4.375 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.1309, allocations: 15.92 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1312, allocations: 67.33 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1312, allocations: 4 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1312, allocations: 3.984 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1312, allocations: 0 / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1313, allocations: 27.86 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.1319, allocations: 284.8 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1321, allocations: 66.61 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.1323, allocations: 28.91 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1323, allocations: 0 / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.1326, allocations: 79.38 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.1326, allocations: 0 / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008412/0.1334, allocations: 193.2 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.1336, allocations: 77.11 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1338, allocations: 177.2 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1339, allocations: 25.7 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1339, allocations: 96.14 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.134, allocations: 35.53 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.1341, allocations: 33.72 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1342, allocations: 318.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1344, allocations: 39.91 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1345, allocations: 50.56 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.1347, allocations: 77.64 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1348, allocations: 4.031 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003437/0.1351, allocations: 125.4 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1351, allocations: 8 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1352, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1352, allocations: 3.984 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1353, allocations: 20 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1354, allocations: 7.938 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.1355, allocations: 7.984 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1355, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.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.0001403/0.1356, allocations: 121.9 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.1357, allocations: 7.906 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.1358, allocations: 20.7 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1358, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1358, allocations: 3.938 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1358, allocations: 0 / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/0.1366, allocations: 431.2 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1366, allocations: 3.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1367, allocations: 11.98 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1367, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1367, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1367, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1367, allocations: 4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.1371, allocations: 216.3 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.1372, allocations: 88.94 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.1373, allocations: 8 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1374, allocations: 0 / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1375, allocations: 7.984 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1375, allocations: 4 kB / 487.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.1377, allocations: 132.5 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1377, allocations: 7.875 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005765/0.1383, allocations: 55.98 kB / 487.3 MB, free: 13.62 MB / 366.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 (10): * Single equations (assignments): 8 * 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.002667/0.141, allocations: 1.216 MB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003226/0.1413, allocations: 83.91 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1413, allocations: 0 / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1414, allocations: 39.92 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.142, allocations: 33.55 kB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.1448, allocations: 1.649 MB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1452, allocations: 0.7046 MB / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.1453, allocations: 28.56 kB / 491.1 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1455, allocations: 35.41 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1455, allocations: 0 / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.1754, allocations: 4.149 MB / 495.2 MB, free: 5.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.079, allocations: 7.922 kB / 495.2 MB, free: 5.816 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches