Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001393/0.001393, allocations: 104 kB / 17.63 MB, free: 5.543 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.001239/0.00124, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.536/1.536, 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.2375/0.2375, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 60.61 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1348, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003023/0.1379, allocations: 1.646 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.1387, allocations: 451 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.1387, allocations: 0 / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.139, allocations: 55.81 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1392, allocations: 55.75 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.1396, allocations: 180.9 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1398, allocations: 83.81 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1399, allocations: 15.98 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.14, allocations: 39.84 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.1401, allocations: 51.77 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1401, allocations: 4 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.1402, allocations: 43.98 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1403, allocations: 23.91 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1403, allocations: 39.73 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1405, allocations: 111.9 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1405, allocations: 0 / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1405, allocations: 0 / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1405, allocations: 4 kB / 472.1 MB, free: 11.5 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.0005104/0.1411, allocations: 415 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1411, allocations: 8.031 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1411, allocations: 42.69 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1412, allocations: 12.75 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1414, allocations: 196.1 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.1414, allocations: 384 / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.1414, allocations: 12.36 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1416, allocations: 65.61 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1417, allocations: 7.984 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.1417, allocations: 0 / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1417, allocations: 0 / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1418, allocations: 51.83 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.1423, allocations: 324.7 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.1425, allocations: 66.58 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.1426, allocations: 24.97 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1427, allocations: 0 / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1427, allocations: 34.56 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.1427, allocations: 0 / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001498/0.1442, allocations: 425.1 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1443, allocations: 51.41 kB / 473.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1445, allocations: 202.1 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.1445, allocations: 29.7 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.1446, allocations: 108 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.1446, allocations: 39.45 kB / 474.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.1447, allocations: 25.72 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1448, allocations: 322.8 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.145, allocations: 51.95 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1451, allocations: 59.89 kB / 474.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1454, allocations: 129.1 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1454, allocations: 0 / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003567/0.1458, allocations: 161.5 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1458, allocations: 4 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1458, allocations: 0 / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1458, allocations: 3.938 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.146, allocations: 35.91 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.146, allocations: 4 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.108e-05/0.146, allocations: 7.938 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1461, allocations: 7.984 kB / 475 MB, free: 8.395 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 0.0001098/0.1462, allocations: 125.8 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1462, allocations: 11.81 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.1467, allocations: 194.2 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1467, allocations: 3.938 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1467, allocations: 0 / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1467, allocations: 0 / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007007/0.1474, allocations: 0.5038 MB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1474, allocations: 0 / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1475, allocations: 27.97 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1475, allocations: 0 / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1476, allocations: 4 kB / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1476, allocations: 0 / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1476, allocations: 0 / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.148, allocations: 280.9 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.148, allocations: 89.11 kB / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1481, allocations: 7.938 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1482, allocations: 8.172 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1482, allocations: 15.98 kB / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1483, allocations: 8 kB / 476.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1484, allocations: 147.2 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1484, allocations: 0 / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.1486, allocations: 28 kB / 476.4 MB, free: 6.84 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.001589/0.1502, allocations: 1.152 MB / 477.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.1506, allocations: 139.8 kB / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1506, allocations: 0 / 477.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1508, allocations: 67.89 kB / 477.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.1513, allocations: 27.64 kB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.1538, allocations: 1.886 MB / 479.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1541, allocations: 0.7235 MB / 480.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.1543, allocations: 32.52 kB / 480.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.1544, allocations: 39.42 kB / 480.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1544, allocations: 0 / 480.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1771, allocations: 3.382 MB / 483.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.702, allocations: 8.141 kB / 483.9 MB, free: 15.49 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_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_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches