Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.14 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1484, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004613/0.1531, allocations: 1.642 MB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1543, allocations: 0.6841 MB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.1544, allocations: 0 / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003199/0.1547, allocations: 31.78 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.155, allocations: 43.83 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.21e-06/0.155, allocations: 0 / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1551, allocations: 35.91 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.1552, allocations: 7.984 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.1552, allocations: 7.938 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.1553, allocations: 15.92 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1553, allocations: 0 / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.097e-05/0.1554, allocations: 8 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.1555, allocations: 19.92 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.1555, allocations: 15.88 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1557, allocations: 79.89 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1557, allocations: 0 / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1557, allocations: 4 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1557, allocations: 0 / 482.7 MB, free: 2.59 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004253/0.1561, allocations: 359.4 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1562, allocations: 8.031 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.1562, allocations: 46.72 kB / 483.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.1563, allocations: 8.75 kB / 483.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1564, allocations: 172.3 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1564, allocations: 384 / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1564, allocations: 8.359 kB / 483.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1567, allocations: 133.7 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1567, allocations: 3.938 kB / 483.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1567, allocations: 0 / 483.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.1568, allocations: 27.92 kB / 483.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1568, allocations: 43.91 kB / 483.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.1575, allocations: 0.8867 MB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/0.1576, allocations: 169.1 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.1576, allocations: 92.02 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.1577, allocations: 75.28 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1577, allocations: 113.9 kB / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.1577, allocations: 0 / 484.8 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.518e-05/0.1578, allocations: 37.61 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.1579, allocations: 130.7 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.1581, allocations: 190 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1581, allocations: 25.7 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1582, allocations: 155.1 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.1582, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1583, allocations: 45.61 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1584, allocations: 322.8 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.1585, allocations: 35.98 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1586, allocations: 157 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1588, allocations: 200.9 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1588, allocations: 0 / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003001/0.1591, allocations: 205 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1592, allocations: 7.984 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1592, allocations: 4 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1592, allocations: 8.625 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1593, allocations: 39.92 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1594, allocations: 8 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.255e-05/0.1594, allocations: 27.69 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1595, allocations: 8 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.000147/0.1596, allocations: 213 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.1597, allocations: 116.8 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.1598, allocations: 120.8 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/0.1598, allocations: 184.2 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.03e-05/0.1599, allocations: 176.3 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.459e-05/0.16, allocations: 176.3 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1603, allocations: 429.1 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/0.1603, allocations: 109 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.1604, allocations: 104.9 kB / 488 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.1605, allocations: 180.3 kB / 488.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.1605, allocations: 180.2 kB / 488.4 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.598e-05/0.1606, allocations: 188.2 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-05/0.1607, allocations: 180.3 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1609, allocations: 319.6 kB / 489 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.161, allocations: 186 kB / 489.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.161, allocations: 180.2 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.1611, allocations: 105 kB / 489.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.1612, allocations: 184.2 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.1613, allocations: 112.9 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.1614, allocations: 127.2 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1614, allocations: 3.938 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1617, allocations: 16 kB / 489.9 MB, free: 10.76 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 (0): * Single equations (assignments): 0 * 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.0008772/0.1626, allocations: 0.9173 MB / 490.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1628, allocations: 71.78 kB / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1628, allocations: 0 / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.1628, allocations: 4 kB / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1633, allocations: 463.6 kB / 491.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.165, allocations: 1.871 MB / 493.2 MB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1653, allocations: 0.7006 MB / 493.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.1655, allocations: 45.03 kB / 494 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.1655, allocations: 35.42 kB / 494 MB, free: 6.465 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1655, allocations: 0 / 494 MB, free: 6.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.1874, allocations: 2.044 MB / 496.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.937, allocations: 17 kB / 496.1 MB, free: 4.469 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches