Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 104.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.3 MB, free: 9.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 69.05 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1477, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.004499/0.1523, allocations: 1.673 MB / 481.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.1548, allocations: 1.144 MB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.1549, allocations: 0 / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1552, allocations: 23.86 kB / 482.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.1557, allocations: 67.81 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.156, allocations: 83.72 kB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1563, allocations: 71.83 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1564, allocations: 19.94 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.1565, allocations: 23.91 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.1567, allocations: 35.78 kB / 482.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1568, allocations: 4 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.1571, allocations: 87.94 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.1571, allocations: 19.91 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.1572, allocations: 31.75 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.1576, allocations: 147.9 kB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1576, allocations: 0 / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1576, allocations: 4 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1576, allocations: 0 / 482.8 MB, free: 2.164 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006809/0.1583, allocations: 411.1 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.1584, allocations: 8.875 kB / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.1584, allocations: 42.73 kB / 483.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.1585, allocations: 8.844 kB / 483.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1588, allocations: 188.2 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1588, allocations: 8.375 kB / 483.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1588, allocations: 4.281 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1591, allocations: 79.33 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1591, allocations: 0 / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1591, allocations: 3.938 kB / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1591, allocations: 0 / 483.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1593, allocations: 35.97 kB / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.1598, allocations: 308.7 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.16, allocations: 50.56 kB / 483.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.1601, allocations: 20.97 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1601, allocations: 0 / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1602, allocations: 30.56 kB / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1602, allocations: 0 / 484 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008908/0.1611, allocations: 181.3 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.1611, allocations: 77.11 kB / 484.2 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.1614, allocations: 163.8 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1614, allocations: 25.7 kB / 484.4 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.1615, allocations: 96.08 kB / 484.5 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1615, allocations: 31.7 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.1616, allocations: 21.72 kB / 484.6 MB, free: 184 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1618, allocations: 322.8 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1619, allocations: 19.98 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.162, allocations: 45.69 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.1623, allocations: 61.05 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1623, allocations: 4.031 kB / 485 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003164/0.1626, allocations: 93.58 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1627, allocations: 4 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1627, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1627, allocations: 0 / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1629, allocations: 24.3 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1629, allocations: 3.938 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.3e-05/0.163, allocations: 15.89 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.163, allocations: 8 kB / 485.2 MB, free: 15.57 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.0001163/0.1631, allocations: 117.8 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.1632, allocations: 7.906 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.1636, allocations: 122.2 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.1636, allocations: 3.984 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1636, allocations: 7.875 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1636, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.1643, allocations: 398.4 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1643, allocations: 0 / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.1645, allocations: 15.94 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1645, allocations: 7.922 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1645, allocations: 8 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.1645, allocations: 0 / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1645, allocations: 0 / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.1649, allocations: 199.6 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.165, allocations: 84.95 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.165, allocations: 4 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1652, allocations: 7.984 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1652, allocations: 4 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1652, allocations: 4 kB / 486.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1654, allocations: 121.8 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1654, allocations: 0 / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.1659, allocations: 39.98 kB / 486.3 MB, free: 14.33 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 (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.002212/0.1681, allocations: 1.108 MB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.1684, allocations: 71.89 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1684, allocations: 0 / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1686, allocations: 32.14 kB / 487.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1691, allocations: 16.14 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.1716, allocations: 1.536 MB / 489.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1719, allocations: 0.6971 MB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.81e-05/0.1721, allocations: 8.438 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.1722, allocations: 39.41 kB / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1722, allocations: 0 / 489.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.1928, allocations: 3.173 MB / 493 MB, free: 7.773 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.1931, allocations: 239.3 kB / 493.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.113, allocations: 7.312 kB / 493.2 MB, free: 7.512 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches