Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001209, 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.001333/0.001333, 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.334/1.334, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1932/0.1932, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 81.3 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1257, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003433/0.1292, allocations: 1.684 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.1302, allocations: 0.5532 MB / 482.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.1303, allocations: 7.938 kB / 482.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.1306, allocations: 55.73 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1309, allocations: 91.66 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.1312, allocations: 142.9 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.1314, allocations: 79.77 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1315, allocations: 24.2 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.465e-05/0.1316, allocations: 31.86 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1317, allocations: 59.75 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1317, allocations: 4 kB / 482.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1318, allocations: 51.98 kB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.1319, allocations: 19.92 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.1319, allocations: 39.72 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1322, allocations: 115.9 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1322, allocations: 3.938 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1322, allocations: 0 / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1322, allocations: 0 / 483.1 MB, free: 2.238 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.0005295/0.1327, allocations: 426.9 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1328, allocations: 12.02 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.1328, allocations: 34.69 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.1328, allocations: 12.84 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.133, allocations: 200.8 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1331, allocations: 384 / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1331, allocations: 4.375 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1333, allocations: 61.61 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1333, allocations: 0 / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1333, allocations: 15.98 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1333, allocations: 0 / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1335, allocations: 39.91 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1338, allocations: 308.7 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1341, allocations: 66.56 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.1342, allocations: 28.97 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1342, allocations: 4 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1342, allocations: 30.56 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1342, allocations: 0 / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001394/0.1356, allocations: 401.2 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1357, allocations: 51.41 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1359, allocations: 207.2 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1359, allocations: 29.7 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.136, allocations: 108 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.136, allocations: 35.72 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1361, allocations: 29.7 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1362, allocations: 322.8 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.1363, allocations: 48.03 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1364, allocations: 39.97 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1367, allocations: 104.8 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1367, allocations: 0 / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002885/0.137, allocations: 141.4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.137, allocations: 4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.137, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.137, allocations: 3.938 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1372, allocations: 31.92 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1372, allocations: 7.984 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.477e-05/0.1372, allocations: 8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1373, allocations: 4 kB / 485.8 MB, free: 15.23 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 9.235e-05/0.1374, allocations: 129.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1374, allocations: 15.81 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1378, allocations: 167.3 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1378, allocations: 3.938 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1378, allocations: 0 / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1378, allocations: 3.984 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1384, allocations: 480 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1384, allocations: 3.984 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1385, allocations: 27.98 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.1385, allocations: 4 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1386, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1386, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1386, allocations: 4 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.1389, allocations: 260.9 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.139, allocations: 93 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.139, allocations: 4 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.1391, allocations: 12.08 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1391, allocations: 7.938 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1392, allocations: 8 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1393, allocations: 151.9 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1393, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1395, allocations: 31.98 kB / 487.2 MB, free: 13.74 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.001523/0.1411, allocations: 1.134 MB / 488.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1415, allocations: 111.9 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1415, allocations: 0 / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.1417, allocations: 59.89 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.1422, allocations: 15.98 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.1443, allocations: 1.824 MB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1445, allocations: 0.7119 MB / 491.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.467e-05/0.1446, allocations: 12.55 kB / 491.1 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.1447, allocations: 39.42 kB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1447, allocations: 0 / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4572/0.6019, allocations: 3.325 MB / 494.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.68, allocations: 9.312 kB / 494.5 MB, free: 6.586 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches