Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001065/0.001068, allocations: 103.6 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.001017/0.001017, 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.524/1.524, 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.3157/0.3157, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 60.75 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1188, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003734/0.1226, allocations: 1.641 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007911/0.1234, allocations: 451.1 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.1235, allocations: 0 / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.1237, allocations: 79.77 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.1239, allocations: 51.77 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.1243, allocations: 182.5 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.1245, allocations: 75.83 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1246, allocations: 27.98 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.1247, allocations: 35.89 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.939e-05/0.1248, allocations: 59.7 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1248, allocations: 4 kB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1249, allocations: 47.97 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.125, allocations: 23.92 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.125, allocations: 35.75 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1253, allocations: 123.8 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1253, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1253, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1253, allocations: 0 / 472.2 MB, free: 11.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005746/0.1259, allocations: 422.9 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1259, allocations: 8.031 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.126, allocations: 42.67 kB / 472.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.126, allocations: 16.84 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.1262, allocations: 202.7 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1263, allocations: 4.375 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1263, allocations: 8.281 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1265, allocations: 65.61 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1265, allocations: 0 / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1265, allocations: 0 / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1265, allocations: 0 / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1267, allocations: 55.89 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.1271, allocations: 316.8 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1273, allocations: 58.58 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.1274, allocations: 36.97 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1275, allocations: 0 / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1275, allocations: 30.56 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1275, allocations: 0 / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001474/0.129, allocations: 437 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.129, allocations: 51.41 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.1292, allocations: 222.1 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1292, allocations: 25.7 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.1293, allocations: 104.1 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.1293, allocations: 47.38 kB / 474.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1294, allocations: 25.72 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.1295, allocations: 322.8 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.1296, allocations: 55.95 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1298, allocations: 55.95 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.13, allocations: 120.8 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.13, allocations: 0 / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003238/0.1304, allocations: 165.5 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1304, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1304, allocations: 3.938 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1304, allocations: 7.922 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1306, allocations: 35.91 kB / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1306, allocations: 0 / 475.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.1306, allocations: 11.98 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1307, allocations: 8 kB / 475.1 MB, free: 8.293 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 (11): * Single equations (assignments): 11 * 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 9.1e-05/0.1308, allocations: 129.8 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1308, allocations: 11.81 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.1312, allocations: 191.3 kB / 475.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1312, allocations: 7.938 kB / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1312, allocations: 0 / 475.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1312, allocations: 4 kB / 475.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.1319, allocations: 0.4999 MB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1319, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.945e-05/0.132, allocations: 28.23 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.132, allocations: 0 / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.132, allocations: 8 kB / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.132, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1321, allocations: 0 / 475.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.1324, allocations: 285 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1325, allocations: 92.91 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.1325, allocations: 4 kB / 476.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.1326, allocations: 8 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1327, allocations: 7.984 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.1327, allocations: 4 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1328, allocations: 169.5 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1328, allocations: 4 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1331, allocations: 28 kB / 476.5 MB, free: 6.719 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001492/0.1346, allocations: 1.153 MB / 477.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.135, allocations: 139.8 kB / 477.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.135, allocations: 0 / 477.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.1351, allocations: 63.91 kB / 477.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1355, allocations: 19.98 kB / 477.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.1379, allocations: 1.94 MB / 479.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.1383, allocations: 0.7158 MB / 480.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1384, allocations: 36.52 kB / 480.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.1385, allocations: 43.41 kB / 480.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1385, allocations: 0 / 480.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1607, allocations: 3.462 MB / 484.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.778, allocations: 5.609 kB / 484.1 MB, free: 15.25 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches