Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001601/0.001601, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002112/0.002112, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 73.59 kB / 417.2 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1251, allocations: 62.45 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003858/0.129, allocations: 1.672 MB / 481.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009566/0.13, allocations: 0.5261 MB / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.1301, allocations: 0 / 481.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.1307, allocations: 451.2 kB / 482.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.1313, allocations: 283.4 kB / 482.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1317, allocations: 111.3 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.132, allocations: 159.7 kB / 482.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1321, allocations: 12.17 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.1323, allocations: 111.7 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1326, allocations: 219.6 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1326, allocations: 4 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.1327, allocations: 27.98 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1329, allocations: 79.69 kB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.133, allocations: 103 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1333, allocations: 247 kB / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1333, allocations: 0 / 483.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1333, allocations: 4 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1333, allocations: 3.938 kB / 483.6 MB, free: 1.539 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000844/0.1342, allocations: 0.6299 MB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1342, allocations: 12.03 kB / 484.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1343, allocations: 30.75 kB / 484.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.1344, allocations: 48.36 kB / 484.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1347, allocations: 296.1 kB / 484.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1347, allocations: 4.375 kB / 484.6 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1347, allocations: 4.125 kB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1348, allocations: 49.69 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1349, allocations: 0 / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1349, allocations: 7.938 kB / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1349, allocations: 0 / 484.6 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.135, allocations: 19.98 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1355, allocations: 376.8 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.1356, allocations: 34.56 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.1356, allocations: 20.73 kB / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1356, allocations: 0 / 485.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1357, allocations: 38.55 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1357, allocations: 0 / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002585/0.1359, allocations: 97.12 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.136, allocations: 55.53 kB / 485.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.1368, allocations: 0.8738 MB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1368, allocations: 25.7 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.137, allocations: 224 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.137, allocations: 15.89 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1371, allocations: 13.72 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1372, allocations: 366.7 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.1372, allocations: 15.94 kB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.1373, allocations: 7.984 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.41e-05/0.1374, allocations: 24.84 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1374, allocations: 0 / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001648/0.1375, allocations: 89.12 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1376, allocations: 6.969 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1376, allocations: 4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1376, allocations: 8.078 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/0.1377, allocations: 7.984 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1377, allocations: 0 / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.1377, allocations: 4 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1378, allocations: 3.938 kB / 487 MB, free: 13.93 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 (2): * Single equations (assignments): 2 * 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.0001808/0.1379, allocations: 213.7 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.138, allocations: 47.42 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.1382, allocations: 108.7 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1382, allocations: 0 / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1383, allocations: 0 / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1383, allocations: 0 / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1385, allocations: 289.5 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1386, allocations: 0 / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.1386, allocations: 7.984 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1386, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1386, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1386, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1386, allocations: 7.938 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.1388, allocations: 190.9 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.1389, allocations: 112.6 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.139, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.1391, allocations: 4 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1391, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1391, allocations: 7.938 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006176/0.1397, allocations: 0.6667 MB / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1397, allocations: 0 / 488.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000246/0.14, allocations: 12 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.001168/0.1411, allocations: 0.9572 MB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.1413, allocations: 23.98 kB / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1413, allocations: 0 / 489.6 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.1413, allocations: 8 kB / 489.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1418, allocations: 30.41 kB / 489.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.1455, allocations: 3.236 MB / 492.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.1459, allocations: 0.8182 MB / 493.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.056e-05/0.146, allocations: 4 kB / 493.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1461, allocations: 119.4 kB / 493.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1461, allocations: 0 / 493.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.1656, allocations: 5.539 MB / 499.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.1659, allocations: 230.7 kB / 499.6 MB, free: 1.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.077, allocations: 0 / 499.6 MB, free: 1.242 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches