Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 109.2 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.001329/0.001329, 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.428/1.428, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 46.11 MB / 343.6 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 84.98 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1285, allocations: 62.44 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00411/0.1326, allocations: 1.679 MB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1338, allocations: 0.5534 MB / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.1339, allocations: 0 / 481.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.1345, allocations: 451.2 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.135, allocations: 283.4 kB / 482.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1355, allocations: 159.4 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.1359, allocations: 163.7 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.136, allocations: 11.92 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1362, allocations: 103.8 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.1366, allocations: 203.6 kB / 483 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.1366, allocations: 7.938 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.511e-05/0.1367, allocations: 19.98 kB / 483 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1368, allocations: 75.7 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.1369, allocations: 103 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.1373, allocations: 251 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1373, allocations: 0 / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1373, allocations: 0 / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1373, allocations: 0 / 483.4 MB, free: 1.559 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.0007864/0.1381, allocations: 0.6416 MB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1381, allocations: 12.88 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.1382, allocations: 34.69 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.1383, allocations: 44.38 kB / 484.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.1386, allocations: 312.1 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1387, allocations: 384 / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1387, allocations: 4.375 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1388, allocations: 49.62 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1388, allocations: 0 / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1389, allocations: 4 kB / 484.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1389, allocations: 4 kB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.139, allocations: 27.91 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.1396, allocations: 388.7 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.1397, allocations: 30.56 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.1397, allocations: 16.91 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1397, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.14, allocations: 38.5 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.14, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002944/0.1403, allocations: 97.2 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1403, allocations: 55.41 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/0.1413, allocations: 0.8738 MB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1413, allocations: 25.83 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1415, allocations: 239.9 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1415, allocations: 4 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1416, allocations: 13.72 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1417, allocations: 366.7 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.1418, allocations: 8 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.659e-05/0.1418, allocations: 11.98 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.443e-05/0.1419, allocations: 36.84 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1419, allocations: 0 / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001876/0.1421, allocations: 97.11 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1422, allocations: 4 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1422, allocations: 0 / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1422, allocations: 0 / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1423, allocations: 4 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.1424, allocations: 0 / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.1424, allocations: 4.031 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1425, allocations: 11.98 kB / 486.8 MB, free: 13.9 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.0002819/0.1428, allocations: 209.7 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.89e-05/0.1428, allocations: 43.44 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.1432, allocations: 112.7 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1432, allocations: 0 / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1432, allocations: 0 / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1432, allocations: 0 / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.1437, allocations: 297.5 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1437, allocations: 0 / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.1437, allocations: 11.98 kB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1438, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1438, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1438, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1438, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1441, allocations: 198.8 kB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1443, allocations: 112.5 kB / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1443, allocations: 0 / 487.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.1444, allocations: 7.984 kB / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1444, allocations: 0 / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1444, allocations: 0 / 487.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007831/0.1452, allocations: 0.6628 MB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1452, allocations: 3.938 kB / 488.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1455, allocations: 19.94 kB / 488.5 MB, free: 12.14 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.001722/0.1473, allocations: 0.9583 MB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1475, allocations: 31.91 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1475, allocations: 0 / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.1475, allocations: 12 kB / 489.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.1481, allocations: 30.23 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.152, allocations: 3.274 MB / 492.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.1525, allocations: 0.8223 MB / 493.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.848e-05/0.1526, allocations: 16.05 kB / 493.6 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.1527, allocations: 111.4 kB / 493.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1528, allocations: 0 / 493.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.1711, allocations: 5.521 MB / 499.3 MB, free: 1.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/0.1713, allocations: 230.5 kB / 499.5 MB, free: 1.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.15, allocations: 3.625 kB / 499.5 MB, free: 1.156 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches