Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001124/0.001124, allocations: 102.8 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.001152/0.001152, 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.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 78.81 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1269, allocations: 62.43 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004179/0.1311, allocations: 2.051 MB / 482.2 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.1335, allocations: 1.348 MB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.1339, allocations: 4 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.1343, allocations: 55.5 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.135, allocations: 211.1 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.1366, allocations: 0.5972 MB / 484.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000472/0.1371, allocations: 315.2 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1373, allocations: 72.97 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.1376, allocations: 131.5 kB / 484.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.1379, allocations: 187.2 kB / 485.1 MB, free: 216 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.138, allocations: 20 kB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.1382, allocations: 63.98 kB / 485.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.1383, allocations: 147.6 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.1385, allocations: 174.6 kB / 485.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004676/0.139, allocations: 410.3 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.139, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.139, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.1391, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00105/0.1401, allocations: 0.8083 MB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1402, allocations: 15.97 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.1402, allocations: 46.73 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.1406, allocations: 72.25 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.1412, allocations: 488.5 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1412, allocations: 8.312 kB / 487.3 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1413, allocations: 11.94 kB / 487.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1416, allocations: 148.6 kB / 487.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1416, allocations: 7.906 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1416, allocations: 0 / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.1416, allocations: 4 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.1419, allocations: 99.86 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1429, allocations: 0.7074 MB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1431, allocations: 113.2 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.1433, allocations: 49.81 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1433, allocations: 7.922 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1433, allocations: 38.56 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1433, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001554/0.1449, allocations: 0.5485 MB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.145, allocations: 85.11 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.146, allocations: 0.9376 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1461, allocations: 25.7 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.1463, allocations: 268.2 kB / 490.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.1464, allocations: 51.27 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.1464, allocations: 33.7 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1465, allocations: 317.9 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.1467, allocations: 67.95 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1469, allocations: 81.61 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.1473, allocations: 161.7 kB / 491 MB, free: 9.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1473, allocations: 4 kB / 491 MB, free: 9.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004971/0.1478, allocations: 240.8 kB / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1478, allocations: 10.5 kB / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1478, allocations: 0 / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1479, allocations: 0 / 491.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.1481, allocations: 43.95 kB / 491.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.1481, allocations: 7.984 kB / 491.3 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1482, allocations: 12 kB / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.1483, allocations: 7.984 kB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002356/0.1485, allocations: 217.7 kB / 491.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1486, allocations: 59.25 kB / 491.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.1493, allocations: 295.6 kB / 491.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1493, allocations: 4 kB / 491.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1493, allocations: 0 / 491.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1493, allocations: 3.938 kB / 491.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1505, allocations: 0.8293 MB / 492.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1505, allocations: 0 / 492.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.1507, allocations: 40.02 kB / 492.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1507, allocations: 3.938 kB / 492.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1507, allocations: 0 / 492.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1507, allocations: 7.938 kB / 492.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1507, allocations: 3.984 kB / 492.8 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.1513, allocations: 421.9 kB / 493.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.1514, allocations: 148.4 kB / 493.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.1515, allocations: 4 kB / 493.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1517, allocations: 15.92 kB / 493.4 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.1518, allocations: 11.98 kB / 493.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1518, allocations: 8 kB / 493.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.1525, allocations: 0.6825 MB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1525, allocations: 0 / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.1529, allocations: 63.89 kB / 494.1 MB, free: 6.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001726/0.1546, allocations: 1.243 MB / 495.4 MB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.1551, allocations: 175.7 kB / 495.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1551, allocations: 4 kB / 495.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.1554, allocations: 83.89 kB / 495.6 MB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.1563, allocations: 81.44 kB / 495.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/0.1631, allocations: 5.37 MB / 0.4893 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.1637, allocations: 0.8839 MB / 0.4902 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002331/0.1639, allocations: 95.2 kB / 0.4903 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.1642, allocations: 179.4 kB / 0.4905 GB, free: 14.65 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1642, allocations: 0 / 0.4905 GB, free: 14.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.1939, allocations: 9.944 MB / 0.5002 GB, free: 4.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.267, allocations: 5.016 kB / 0.5002 GB, free: 4.762 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_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_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches