Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 105.9 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001913/0.001913, allocations: 209.8 kB / 18.26 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 74.34 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1254, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002643/0.1281, allocations: 1.673 MB / 481.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1291, allocations: 0.5377 MB / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.1292, allocations: 0 / 481.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.1295, allocations: 71.83 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1298, allocations: 95.78 kB / 482 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.1302, allocations: 99.31 kB / 482.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1304, allocations: 83.83 kB / 482.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1305, allocations: 19.97 kB / 482.2 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.1306, allocations: 43.78 kB / 482.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1307, allocations: 55.81 kB / 482.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.1308, allocations: 4 kB / 482.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1309, allocations: 40 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.131, allocations: 27.91 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.131, allocations: 31.73 kB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1312, allocations: 99.98 kB / 482.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1312, allocations: 3.938 kB / 482.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1313, allocations: 4 kB / 482.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1313, allocations: 4 kB / 482.5 MB, free: 2.629 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.0005105/0.1318, allocations: 418.9 kB / 482.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1318, allocations: 8.031 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1319, allocations: 38.75 kB / 482.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1319, allocations: 8.844 kB / 482.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1322, allocations: 202.7 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1322, allocations: 384 / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1322, allocations: 12.31 kB / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1324, allocations: 61.61 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1324, allocations: 3.906 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1324, allocations: 0 / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1325, allocations: 4 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1326, allocations: 31.91 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.1331, allocations: 300.8 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1332, allocations: 46.56 kB / 483.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.1333, allocations: 20.94 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1333, allocations: 0 / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1334, allocations: 34.5 kB / 483.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1334, allocations: 0 / 483.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001168/0.1346, allocations: 257.1 kB / 483.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1346, allocations: 51.41 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1349, allocations: 210.8 kB / 484.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1349, allocations: 29.7 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.135, allocations: 104.1 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.135, allocations: 27.61 kB / 484.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1351, allocations: 25.72 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1352, allocations: 326.8 kB / 484.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1353, allocations: 27.97 kB / 484.7 MB, free: 204 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1354, allocations: 31.98 kB / 484.7 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1357, allocations: 72.81 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1357, allocations: 3.938 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002997/0.136, allocations: 109.6 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.136, allocations: 10.97 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1361, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1361, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1362, allocations: 19.98 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1362, allocations: 7.938 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.1363, allocations: 3.984 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1363, allocations: 4 kB / 484.9 MB, free: 15.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 (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.0001183/0.1364, allocations: 133.8 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.1365, allocations: 15.8 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.1369, allocations: 131 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1369, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1369, allocations: 3.938 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1369, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.1376, allocations: 423.3 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1376, allocations: 4 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.1377, allocations: 19.92 kB / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1377, allocations: 0 / 485.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1378, allocations: 11.94 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1378, allocations: 8.391 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1378, allocations: 0 / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1381, allocations: 216.2 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1382, allocations: 88.95 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1382, allocations: 3.938 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1383, allocations: 7.984 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.1384, allocations: 8 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1384, allocations: 8 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1386, allocations: 164.7 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1386, allocations: 4 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.139, allocations: 16 kB / 486.2 MB, free: 14.58 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.001926/0.1409, allocations: 1.089 MB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1412, allocations: 87.88 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1412, allocations: 0 / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1414, allocations: 39.92 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1419, allocations: 16.92 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.1444, allocations: 1.723 MB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1448, allocations: 0.7119 MB / 489.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.281e-05/0.1449, allocations: 24.95 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.145, allocations: 35.42 kB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.145, allocations: 0 / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09696/0.242, allocations: 2.978 MB / 492.9 MB, free: 7.992 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/0.2423, allocations: 246.6 kB / 493.1 MB, free: 7.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.18, allocations: 0 / 493.1 MB, free: 7.727 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches