Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001248/0.001248, 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.001121/0.001121, 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.478/1.478, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2153/0.2153, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 57.31 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1104, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002806/0.1133, allocations: 1.619 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1146, allocations: 1.059 MB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.1147, allocations: 0 / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1149, allocations: 19.86 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1151, allocations: 47.78 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.1154, allocations: 170.7 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1156, allocations: 71.77 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.1157, allocations: 19.98 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.416e-05/0.1157, allocations: 27.92 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1159, allocations: 27.84 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1159, allocations: 4 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.796e-05/0.116, allocations: 55.92 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.081e-05/0.1161, allocations: 23.91 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.1161, allocations: 31.8 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1163, allocations: 111.9 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1163, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1163, allocations: 0 / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1163, allocations: 0 / 472.6 MB, free: 10.97 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.0004578/0.1168, allocations: 391.2 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1168, allocations: 12.03 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1169, allocations: 38.69 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1169, allocations: 8.844 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1171, allocations: 188.2 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1171, allocations: 8.375 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1171, allocations: 4.375 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1173, allocations: 79.27 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1173, allocations: 0 / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1173, allocations: 3.984 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1173, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1175, allocations: 35.97 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1179, allocations: 312.7 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.118, allocations: 50.48 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.05e-05/0.1181, allocations: 24.94 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1181, allocations: 4 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1181, allocations: 34.56 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1182, allocations: 0 / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000742/0.1189, allocations: 217.2 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.119, allocations: 81.11 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1191, allocations: 148.1 kB / 474.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1191, allocations: 29.7 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1192, allocations: 100.1 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.1192, allocations: 15.72 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.1192, allocations: 21.7 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.1194, allocations: 318.8 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1195, allocations: 43.95 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1196, allocations: 57.69 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1198, allocations: 92.8 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1199, allocations: 0 / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002814/0.1201, allocations: 121.6 kB / 475 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1202, allocations: 4 kB / 475 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1202, allocations: 4 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1202, allocations: 0 / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1203, allocations: 15.98 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1203, allocations: 11.88 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.1204, allocations: 15.92 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1204, allocations: 11.94 kB / 475.1 MB, free: 8.262 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 (7): * Single equations (assignments): 7 * 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 8.601e-05/0.1205, allocations: 121.8 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.1206, allocations: 7.906 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.1209, allocations: 138.9 kB / 475.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.1209, allocations: 3.984 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1209, allocations: 11.92 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1209, allocations: 0 / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.1215, allocations: 410.3 kB / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1215, allocations: 0 / 475.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.1216, allocations: 19.98 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1216, allocations: 3.938 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.1216, allocations: 7.984 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1216, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1216, allocations: 0 / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.1219, allocations: 219.3 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.122, allocations: 89.09 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.122, allocations: 3.938 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.607e-05/0.1221, allocations: 15.98 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1221, allocations: 11.98 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1221, allocations: 0 / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.1222, allocations: 109.2 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1222, allocations: 4 kB / 476.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1225, allocations: 27.98 kB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001415/0.1239, allocations: 1.093 MB / 477.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.1243, allocations: 83.94 kB / 477.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1243, allocations: 0 / 477.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1244, allocations: 51.89 kB / 477.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1247, allocations: 23.84 kB / 477.5 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1266, allocations: 1.593 MB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1269, allocations: 0.7041 MB / 479.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.091e-05/0.127, allocations: 28.62 kB / 479.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.1271, allocations: 23.42 kB / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1271, allocations: 0 / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.1467, allocations: 3.04 MB / 482.9 MB, free: 460 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.767, allocations: 23.03 kB / 482.9 MB, free: 440 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches