Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 104.1 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.001423/0.001423, 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.414/1.414, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.1 MB / 344.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 78.69 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 62.44 MB / 480.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003383/0.1316, allocations: 1.65 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1327, allocations: 0.5806 MB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.1328, allocations: 0 / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.1334, allocations: 455.1 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.1338, allocations: 291.3 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1343, allocations: 182.9 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.1346, allocations: 171.6 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1347, allocations: 23.97 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1349, allocations: 107.8 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.1351, allocations: 211.6 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1352, allocations: 4 kB / 483.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1353, allocations: 31.98 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.1354, allocations: 91.62 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.1355, allocations: 99 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1358, allocations: 271.2 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1358, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1358, allocations: 0 / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1358, allocations: 0 / 484.3 MB, free: 0.9961 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007686/0.1366, allocations: 0.6414 MB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1366, allocations: 8.031 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.1367, allocations: 38.67 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.1368, allocations: 48.38 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1371, allocations: 304.1 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1371, allocations: 384 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.1372, allocations: 4.375 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1374, allocations: 61.59 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1374, allocations: 4 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1374, allocations: 0 / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1374, allocations: 0 / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.1376, allocations: 35.91 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.1382, allocations: 404.6 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.1385, allocations: 46.56 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/0.1385, allocations: 20.94 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1386, allocations: 0 / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1386, allocations: 46.44 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1386, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007237/0.1393, allocations: 231.9 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.1394, allocations: 55.41 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.1403, allocations: 0.8776 MB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1403, allocations: 25.7 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1405, allocations: 232.1 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1405, allocations: 15.73 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.1406, allocations: 17.72 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1407, allocations: 362.8 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1409, allocations: 23.97 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.141, allocations: 19.98 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1411, allocations: 56.83 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1411, allocations: 0 / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002449/0.1414, allocations: 125 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1414, allocations: 14.44 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1414, allocations: 0 / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1415, allocations: 0 / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.1415, allocations: 11.98 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1415, allocations: 0 / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.1416, allocations: 11.94 kB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1416, allocations: 4 kB / 488 MB, free: 13.05 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 (5): * Single equations (assignments): 5 * 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.0001833/0.1418, allocations: 213.8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.1419, allocations: 43.44 kB / 488.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.1422, allocations: 141.1 kB / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1422, allocations: 0 / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1422, allocations: 4 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1422, allocations: 7.938 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005595/0.1428, allocations: 466.8 kB / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1428, allocations: 0 / 488.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.1429, allocations: 15.98 kB / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1429, allocations: 0 / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1429, allocations: 3.938 kB / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1429, allocations: 0 / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1429, allocations: 11.92 kB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1431, allocations: 223 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1432, allocations: 116.5 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1433, allocations: 7.938 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.1434, allocations: 4 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.1434, allocations: 3.984 kB / 489.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.1434, allocations: 8 kB / 489.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005739/0.144, allocations: 0.6589 MB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.144, allocations: 3.938 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1443, allocations: 24 kB / 489.9 MB, free: 11.02 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 (5): * Single equations (assignments): 5 * 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.001443/0.1457, allocations: 1.053 MB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1459, allocations: 51.95 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1459, allocations: 0 / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.146, allocations: 31.92 kB / 491 MB, free: 9.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.1464, allocations: 32.92 kB / 491.1 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.1499, allocations: 3.312 MB / 494.4 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1504, allocations: 0.826 MB / 495.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.196e-05/0.1505, allocations: 12.66 kB / 495.2 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1506, allocations: 123.4 kB / 495.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1506, allocations: 0 / 495.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.1754, allocations: 5.963 MB / 0.4895 GB, free: 15.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.422, allocations: 5.016 kB / 0.4895 GB, free: 15.66 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches