Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001364, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001433, allocations: 78 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 62.44 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003194/0.1214, allocations: 1.675 MB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1224, allocations: 0.5417 MB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.1225, allocations: 8 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.1229, allocations: 115.8 kB / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.1232, allocations: 111.7 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1234, allocations: 79.47 kB / 481.9 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.1236, allocations: 95.73 kB / 482 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1238, allocations: 19.98 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.1238, allocations: 43.89 kB / 482.1 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.124, allocations: 79.78 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.124, allocations: 0 / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1241, allocations: 43.98 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.488e-05/0.1242, allocations: 31.84 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.1243, allocations: 43.61 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1244, allocations: 115.9 kB / 482.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1245, allocations: 4 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1245, allocations: 0 / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1245, allocations: 0 / 482.4 MB, free: 2.633 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.0005212/0.125, allocations: 430.8 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1251, allocations: 8.875 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.1251, allocations: 38.75 kB / 482.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1251, allocations: 16.69 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1254, allocations: 211.9 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-06/0.1254, allocations: 384 / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1254, allocations: 8.375 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1256, allocations: 61.55 kB / 483.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1256, allocations: 0 / 483.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1256, allocations: 0 / 483.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1256, allocations: 4 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.487e-05/0.1257, allocations: 23.97 kB / 483.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.1261, allocations: 300.7 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1262, allocations: 50.5 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.1263, allocations: 16.94 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1263, allocations: 0 / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1264, allocations: 34.56 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1264, allocations: 0 / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009181/0.1273, allocations: 229 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1273, allocations: 51.41 kB / 483.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1276, allocations: 287.6 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1276, allocations: 29.7 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.1277, allocations: 120.1 kB / 484.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1277, allocations: 27.56 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1278, allocations: 29.7 kB / 484.3 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1279, allocations: 326.8 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.128, allocations: 19.98 kB / 484.6 MB, free: 136 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.1281, allocations: 28.05 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1282, allocations: 64.83 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1283, allocations: 0 / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002445/0.1285, allocations: 110 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1285, allocations: 4 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1285, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1286, allocations: 0 / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1287, allocations: 27.86 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1287, allocations: 3.938 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.1287, allocations: 11.84 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1288, allocations: 8 kB / 484.9 MB, free: 15.87 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 (8): * Single equations (assignments): 8 * 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.0001051/0.1289, allocations: 133.8 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1289, allocations: 19.88 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1292, allocations: 119 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1292, allocations: 3.938 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1292, allocations: 3.938 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1292, allocations: 0 / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005181/0.1298, allocations: 411.3 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1298, allocations: 4 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.1299, allocations: 19.92 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1299, allocations: 0 / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1299, allocations: 8 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1299, allocations: 3.984 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1299, allocations: 4.031 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1302, allocations: 204.5 kB / 485.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.165e-05/0.1302, allocations: 96.84 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.1303, allocations: 4 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.1304, allocations: 4 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1304, allocations: 11.98 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1304, allocations: 4 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001702/0.1306, allocations: 205.5 kB / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 0 / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1309, allocations: 23.98 kB / 486.2 MB, free: 14.5 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 (8): * Single equations (assignments): 8 * 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.001513/0.1324, allocations: 1.092 MB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1326, allocations: 59.97 kB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1326, allocations: 0 / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1327, allocations: 43.91 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1331, allocations: 15.98 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1352, allocations: 1.83 MB / 489.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.1356, allocations: 0.7218 MB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.1357, allocations: 16.95 kB / 489.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.1357, allocations: 35.42 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1357, allocations: 0 / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.1494, allocations: 3.134 MB / 493.1 MB, free: 7.656 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.1497, allocations: 239.4 kB / 493.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.037, allocations: 4.062 kB / 493.3 MB, free: 7.395 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches