Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",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.0009656/0.0009657, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001044/0.001044, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 43.52 MB / 313.9 MB, free: 0.5078 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 79.3 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003/0.1318, allocations: 1.597 MB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000606/0.1324, allocations: 371.4 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1325, allocations: 0 / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.133, allocations: 447.2 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1333, allocations: 259.4 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.1337, allocations: 151.6 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1339, allocations: 167.6 kB / 443.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1341, allocations: 19.98 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.676e-05/0.1342, allocations: 111.8 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1344, allocations: 211.6 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1344, allocations: 4 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.1345, allocations: 35.92 kB / 444 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.1346, allocations: 83.69 kB / 444 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.1347, allocations: 107 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.1349, allocations: 251 kB / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1349, allocations: 0 / 444.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1349, allocations: 3.938 kB / 444.4 MB, free: 3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.135, allocations: 0 / 444.4 MB, free: 3 MB / 318.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.0006734/0.1356, allocations: 0.653 MB / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1357, allocations: 15.89 kB / 445.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.1357, allocations: 34.75 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.1358, allocations: 40.47 kB / 445.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.136, allocations: 300.1 kB / 445.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.136, allocations: 4.375 kB / 445.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1361, allocations: 384 / 445.4 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1362, allocations: 65.61 kB / 445.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1363, allocations: 4 kB / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1363, allocations: 0 / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1363, allocations: 0 / 445.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1364, allocations: 43.95 kB / 445.5 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.1369, allocations: 412.5 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1371, allocations: 54.55 kB / 446 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.931e-05/0.1371, allocations: 24.94 kB / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1372, allocations: 0 / 446 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1372, allocations: 30.56 kB / 446.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1372, allocations: 0 / 446.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008204/0.138, allocations: 304.2 kB / 446.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.1381, allocations: 51.41 kB / 446.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.1387, allocations: 0.8692 MB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1387, allocations: 25.7 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.1389, allocations: 219.9 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1389, allocations: 27.61 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.139, allocations: 25.66 kB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1392, allocations: 362.8 kB / 447.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1393, allocations: 35.91 kB / 448 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1394, allocations: 39.97 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.1396, allocations: 88.8 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1396, allocations: 0 / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003492/0.14, allocations: 161.3 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.14, allocations: 4 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.14, allocations: 0 / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1401, allocations: 0 / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1402, allocations: 31.91 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1402, allocations: 0 / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.923e-05/0.1403, allocations: 11.92 kB / 448.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1403, allocations: 4 kB / 448.3 MB, free: 14.87 MB / 334.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 0.0002154/0.1406, allocations: 221.6 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.1406, allocations: 39.53 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.141, allocations: 185.3 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1411, allocations: 4 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1411, allocations: 0 / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.1411, allocations: 3.938 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.1419, allocations: 0.5023 MB / 449.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.1421, allocations: 8 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.1422, allocations: 19.98 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1422, allocations: 0 / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1422, allocations: 3.938 kB / 449.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1422, allocations: 4 kB / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1422, allocations: 0 / 449.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.1426, allocations: 254.9 kB / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.1427, allocations: 116.5 kB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1427, allocations: 7.938 kB / 449.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1428, allocations: 15.92 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1429, allocations: 0 / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1429, allocations: 4 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006411/0.1435, allocations: 0.6511 MB / 450.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.695e-06/0.1436, allocations: 0 / 450.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1438, allocations: 31.94 kB / 450.3 MB, free: 12.7 MB / 334.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.001499/0.1453, allocations: 1.091 MB / 451.4 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.1457, allocations: 87.94 kB / 451.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1457, allocations: 4 kB / 451.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1458, allocations: 51.89 kB / 451.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1463, allocations: 32.23 kB / 451.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.1502, allocations: 3.36 MB / 455 MB, free: 8.051 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.1507, allocations: 0.8389 MB / 455.8 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.614e-05/0.1508, allocations: 20.66 kB / 455.8 MB, free: 7.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.1509, allocations: 115.4 kB / 455.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of SimCode: time 1.934e-06/0.1509, allocations: 96 / 455.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.177, allocations: 6.035 MB / 462 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.479/7.656, allocations: 15.92 kB / 462 MB, free: 0.9805 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches