Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.001482/0.001482, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001786/0.001786, allocations: 192 kB / 18.56 MB, free: 4.434 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.412/1.412, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2242/0.2242, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 64.12 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 60.81 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.00395/0.1292, allocations: 1.615 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1304, allocations: 431.1 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1305, allocations: 0 / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.1308, allocations: 31.84 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1312, allocations: 39.77 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.1317, allocations: 123.1 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.132, allocations: 79.83 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1321, allocations: 32.19 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.417e-05/0.1322, allocations: 35.86 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1324, allocations: 39.83 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1324, allocations: 4 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1326, allocations: 47.92 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.1327, allocations: 19.92 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.1327, allocations: 31.75 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.133, allocations: 107.7 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.133, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.133, allocations: 0 / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.133, allocations: 0 / 472 MB, free: 11.64 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005867/0.1336, allocations: 403.2 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1337, allocations: 8.031 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1337, allocations: 34.75 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1338, allocations: 12.84 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.134, allocations: 200 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.134, allocations: 4.375 kB / 472.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.1341, allocations: 8.375 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1343, allocations: 73.59 kB / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1343, allocations: 0 / 472.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1343, allocations: 8 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1343, allocations: 0 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1345, allocations: 39.97 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.135, allocations: 328.6 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1351, allocations: 70.56 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.1352, allocations: 28.78 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1352, allocations: 0 / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1353, allocations: 30.56 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.1353, allocations: 0 / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001232/0.1365, allocations: 333.6 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1366, allocations: 55.41 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1368, allocations: 160.2 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1368, allocations: 29.7 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/0.1369, allocations: 104 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.1369, allocations: 39.36 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.952e-05/0.137, allocations: 33.72 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1372, allocations: 318.8 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1373, allocations: 43.97 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1374, allocations: 51.91 kB / 474.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1376, allocations: 103.2 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1376, allocations: 0 / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003152/0.138, allocations: 153.5 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.138, allocations: 11.94 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.138, allocations: 3.938 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.138, allocations: 3.984 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1382, allocations: 27.92 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1382, allocations: 0 / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1383, allocations: 8 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1383, allocations: 4 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001105/0.1384, allocations: 129.8 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.1384, allocations: 15.75 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.1388, allocations: 178.3 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1388, allocations: 0 / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1388, allocations: 0 / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1388, allocations: 4 kB / 475 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.1395, allocations: 495 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1395, allocations: 0 / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.1396, allocations: 27.98 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1396, allocations: 0 / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1396, allocations: 3.984 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1397, allocations: 4 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.1397, allocations: 15.95 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.14, allocations: 250 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1401, allocations: 85.02 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1401, allocations: 4 kB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.1402, allocations: 7.984 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.1402, allocations: 15.98 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1403, allocations: 4 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1404, allocations: 115.2 kB / 476 MB, free: 7.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1404, allocations: 3.938 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1407, allocations: 35.94 kB / 476 MB, free: 7.258 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001854/0.1425, allocations: 1.132 MB / 477.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003505/0.1429, allocations: 127.9 kB / 477.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.1429, allocations: 0 / 477.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.143, allocations: 63.84 kB / 477.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1435, allocations: 19.98 kB / 477.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1457, allocations: 1.701 MB / 479 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.146, allocations: 0.708 MB / 479.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.772e-05/0.1461, allocations: 28.53 kB / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.1462, allocations: 35.42 kB / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1462, allocations: 0 / 479.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.1667, allocations: 3.103 MB / 482.9 MB, free: 476 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.508, allocations: 7.984 kB / 482.9 MB, free: 468 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches