Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001333/0.001333, 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.001503/0.001503, 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.328/1.328, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2044/0.2044, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 61.06 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1183, allocations: 60.81 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003183/0.1215, allocations: 1.583 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007035/0.1223, allocations: 403.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.1223, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1226, allocations: 79.7 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1228, allocations: 63.73 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.123, allocations: 91.14 kB / 471.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1232, allocations: 75.81 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.1233, allocations: 12.19 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.568e-05/0.1234, allocations: 43.77 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.857e-05/0.1235, allocations: 47.91 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1235, allocations: 4 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.1236, allocations: 47.91 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1237, allocations: 19.98 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.1237, allocations: 27.75 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.1239, allocations: 107.9 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1239, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1239, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1239, allocations: 0 / 471.9 MB, free: 11.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004857/0.1244, allocations: 403 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1245, allocations: 12.03 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.1245, allocations: 30.75 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1246, allocations: 12.84 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1247, allocations: 196.1 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1247, allocations: 384 / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.1248, allocations: 16.03 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.1249, allocations: 57.64 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1249, allocations: 0 / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.125, allocations: 4 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.125, allocations: 4 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.1251, allocations: 23.92 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.1254, allocations: 296.8 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1256, allocations: 42.5 kB / 473 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.1256, allocations: 20.94 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1257, allocations: 0 / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1257, allocations: 34.56 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1257, allocations: 0 / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000955/0.1267, allocations: 213.1 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.1267, allocations: 55.42 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.127, allocations: 214.2 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.127, allocations: 25.7 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.1271, allocations: 108 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1271, allocations: 27.64 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.1272, allocations: 21.72 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1273, allocations: 326.8 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.1274, allocations: 19.98 kB / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.1275, allocations: 27.98 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1276, allocations: 60.77 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1276, allocations: 0 / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000212/0.1279, allocations: 109.4 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1279, allocations: 4 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1279, allocations: 3.938 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1279, allocations: 432 / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.128, allocations: 27.98 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.128, allocations: 3.938 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.1281, allocations: 4 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1281, allocations: 0 / 474.3 MB, free: 9.109 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 (8): * Single equations (assignments): 8 * 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.0001173/0.1282, allocations: 133.8 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.1283, allocations: 7.906 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.1286, allocations: 130.6 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.1286, allocations: 4 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1286, allocations: 3.938 kB / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1286, allocations: 0 / 474.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.1291, allocations: 395.2 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1291, allocations: 7.922 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/0.1292, allocations: 23.97 kB / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1292, allocations: 0 / 475 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.1292, allocations: 4 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1292, allocations: 3.984 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1292, allocations: 0 / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1295, allocations: 192.3 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.1295, allocations: 96.94 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1296, allocations: 4 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.1296, allocations: 4 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.1297, allocations: 7.984 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1297, allocations: 0 / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1298, allocations: 155.2 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1298, allocations: 3.938 kB / 475.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1301, allocations: 20 kB / 475.5 MB, free: 7.824 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 (8): * Single equations (assignments): 8 * 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.001412/0.1315, allocations: 1.096 MB / 476.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1318, allocations: 71.89 kB / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1318, allocations: 0 / 476.6 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.637e-05/0.1319, allocations: 35.92 kB / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1323, allocations: 21.61 kB / 476.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1342, allocations: 1.617 MB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1345, allocations: 0.7041 MB / 479 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.1346, allocations: 20.64 kB / 479 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.1347, allocations: 31.42 kB / 479.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.675e-06/0.1347, allocations: 4 kB / 479.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.1553, allocations: 2.945 MB / 482 MB, free: 1.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.752, allocations: 15.08 kB / 482 MB, free: 1.375 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_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_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches