Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00175/0.00175, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.09 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1292, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003478/0.1327, allocations: 1.677 MB / 481.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1341, allocations: 0.5805 MB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.1342, allocations: 4 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.1345, allocations: 71.72 kB / 482.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.1349, allocations: 91.61 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.1354, allocations: 186.6 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.1357, allocations: 91.75 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1359, allocations: 16.23 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.1359, allocations: 39.83 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1361, allocations: 55.83 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1361, allocations: 4 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1362, allocations: 47.98 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.1363, allocations: 23.92 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.1364, allocations: 39.72 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.1366, allocations: 119.8 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1366, allocations: 0 / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1366, allocations: 0 / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1366, allocations: 4 kB / 483.2 MB, free: 2.152 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.0006243/0.1372, allocations: 430.9 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1373, allocations: 8.031 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1373, allocations: 34.75 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.1374, allocations: 12.84 kB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1376, allocations: 200.8 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1376, allocations: 8.375 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1376, allocations: 4.375 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1378, allocations: 69.53 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1379, allocations: 4 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1379, allocations: 4 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1379, allocations: 4 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.138, allocations: 43.89 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1385, allocations: 332.6 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1388, allocations: 66.55 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.1389, allocations: 28.91 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1389, allocations: 4 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.139, allocations: 30.56 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.139, allocations: 0 / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001542/0.1405, allocations: 432.7 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1406, allocations: 51.41 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1408, allocations: 199.3 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.1408, allocations: 29.7 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.1409, allocations: 104 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/0.1409, allocations: 35.55 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.141, allocations: 25.72 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1411, allocations: 322.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.1413, allocations: 59.95 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1414, allocations: 51.95 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.1417, allocations: 132.7 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1417, allocations: 0.5625 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000331/0.142, allocations: 165.4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1421, allocations: 6.344 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1421, allocations: 0 / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1421, allocations: 7.922 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1422, allocations: 23.98 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1422, allocations: 11.98 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1423, allocations: 11.98 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1423, allocations: 4 kB / 486.1 MB, free: 15.02 MB / 366.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.0001155/0.1424, allocations: 137.8 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.1425, allocations: 15.75 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.143, allocations: 186.9 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.143, allocations: 3.938 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.143, allocations: 3.984 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.143, allocations: 4 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.1437, allocations: 0.4961 MB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1437, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1439, allocations: 31.97 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1439, allocations: 96 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1439, allocations: 7.938 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1439, allocations: 7.938 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1439, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.1443, allocations: 277.5 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.1444, allocations: 89 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.1444, allocations: 4 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.1445, allocations: 11.98 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1445, allocations: 8 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1446, allocations: 7.938 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1447, allocations: 151.9 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1447, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.145, allocations: 35.89 kB / 487.5 MB, free: 13.45 MB / 366.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.001905/0.1469, allocations: 1.147 MB / 488.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1473, allocations: 135.8 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1473, allocations: 0 / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.1475, allocations: 67.89 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.1479, allocations: 27.73 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.1504, allocations: 1.895 MB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1506, allocations: 0.7197 MB / 491.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.358e-05/0.1507, allocations: 36.52 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.1508, allocations: 39.42 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1508, allocations: 0 / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.1712, allocations: 3.426 MB / 495 MB, free: 6.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.192, allocations: 16.62 kB / 495 MB, free: 6.023 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches