Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.0009455/0.0009455, allocations: 97.52 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 205.7 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 46.17 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002537, allocations: 8 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 63.57 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002481/0.1263, allocations: 1.727 MB / 484.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1284, allocations: 1.216 MB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.1287, allocations: 4 kB / 486.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.129, allocations: 39.7 kB / 486.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.1295, allocations: 183.4 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1306, allocations: 417.2 kB / 486.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.131, allocations: 275.2 kB / 487 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1312, allocations: 57 kB / 487.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.1316, allocations: 119.4 kB / 487.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.1319, allocations: 171.4 kB / 487.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.501e-05/0.1319, allocations: 4 kB / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1321, allocations: 59.83 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1322, allocations: 127.6 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.1324, allocations: 196.3 kB / 487.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.1328, allocations: 374.5 kB / 488.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1328, allocations: 4 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1328, allocations: 0 / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1329, allocations: 0 / 488.1 MB, free: 15.14 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.001028/0.1339, allocations: 0.7272 MB / 488.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.134, allocations: 8.875 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.134, allocations: 42.73 kB / 488.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003375/0.1344, allocations: 88.11 kB / 489 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.135, allocations: 475.6 kB / 489.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1351, allocations: 8.375 kB / 489.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.1351, allocations: 11.94 kB / 489.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.1354, allocations: 139.1 kB / 489.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1354, allocations: 0 / 489.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1354, allocations: 4 kB / 489.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1354, allocations: 4 kB / 489.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.1357, allocations: 87.94 kB / 489.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.1365, allocations: 0.6916 MB / 490.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1367, allocations: 113.2 kB / 490.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1368, allocations: 45.81 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1369, allocations: 11.92 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1369, allocations: 34.5 kB / 490.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1369, allocations: 0 / 490.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001368/0.1383, allocations: 0.5603 MB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1383, allocations: 85.27 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.1393, allocations: 0.9181 MB / 492.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1394, allocations: 33.64 kB / 492.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1396, allocations: 268.2 kB / 492.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.1396, allocations: 51.27 kB / 492.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1396, allocations: 17.72 kB / 492.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1398, allocations: 378.7 kB / 492.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.14, allocations: 59.97 kB / 492.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1401, allocations: 88.42 kB / 493 MB, free: 9.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.1405, allocations: 153.8 kB / 493.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1405, allocations: 0 / 493.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004422/0.1409, allocations: 244.8 kB / 493.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1409, allocations: 7.984 kB / 493.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.141, allocations: 0 / 493.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.141, allocations: 4 kB / 493.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.1412, allocations: 47.91 kB / 493.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1412, allocations: 0 / 493.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1413, allocations: 19.98 kB / 493.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1414, allocations: 4 kB / 493.5 MB, free: 9.48 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.0001979/0.1416, allocations: 209.7 kB / 493.7 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.1417, allocations: 55.25 kB / 493.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.1422, allocations: 287.2 kB / 494 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1423, allocations: 7.984 kB / 494 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1423, allocations: 0 / 494 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1423, allocations: 0 / 494 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1433, allocations: 0.8139 MB / 494.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1433, allocations: 3.984 kB / 494.9 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1435, allocations: 39.98 kB / 494.9 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1435, allocations: 3.984 kB / 494.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1435, allocations: 0 / 494.9 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1435, allocations: 7.938 kB / 494.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1435, allocations: 0 / 494.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.144, allocations: 421.9 kB / 495.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1442, allocations: 156.4 kB / 495.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.1442, allocations: 0 / 495.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1444, allocations: 31.86 kB / 495.5 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.1445, allocations: 15.92 kB / 495.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1445, allocations: 8 kB / 495.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006703/0.1452, allocations: 0.6708 MB / 496.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1452, allocations: 0 / 496.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.1455, allocations: 55.91 kB / 496.2 MB, free: 6.613 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.001554/0.1471, allocations: 1.24 MB / 497.5 MB, free: 5.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.1475, allocations: 159.8 kB / 497.6 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1475, allocations: 4 kB / 497.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.1477, allocations: 83.89 kB / 497.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.1483, allocations: 70.97 kB / 497.8 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006019/0.1543, allocations: 5.367 MB / 0.4914 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.1548, allocations: 0.8616 MB / 0.4922 GB, free: 14.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.155, allocations: 83.2 kB / 0.4923 GB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.1552, allocations: 179.4 kB / 0.4925 GB, free: 14.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1552, allocations: 0 / 0.4925 GB, free: 14.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.1766, allocations: 9.116 MB / 0.5014 GB, free: 5.566 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1769, allocations: 230.9 kB / 0.5016 GB, free: 5.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.1, allocations: 0 / 0.5016 GB, free: 5.316 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches