Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 103.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.00241/0.002411, 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.52/1.52, 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.2337/0.2337, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 76.84 kB / 417 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1534, allocations: 62.44 MB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003711/0.1571, allocations: 1.661 MB / 481 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1591, allocations: 1.144 MB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.1592, allocations: 0 / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1595, allocations: 23.91 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1599, allocations: 63.77 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.1603, allocations: 107.2 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1605, allocations: 59.88 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1607, allocations: 12 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.1608, allocations: 27.8 kB / 482.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.161, allocations: 31.84 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.161, allocations: 8 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.1613, allocations: 91.88 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1614, allocations: 11.98 kB / 482.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.1614, allocations: 27.8 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1618, allocations: 132 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1618, allocations: 0 / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1618, allocations: 3.938 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1618, allocations: 0 / 482.8 MB, free: 2.23 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.0006394/0.1624, allocations: 403.2 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.1625, allocations: 8.875 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1625, allocations: 42.69 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.1626, allocations: 8.844 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1629, allocations: 192.2 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1629, allocations: 384 / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1629, allocations: 4.375 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1631, allocations: 67.33 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1631, allocations: 0 / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1631, allocations: 0 / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1631, allocations: 4 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1633, allocations: 27.92 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1637, allocations: 284.9 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.164, allocations: 46.55 kB / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.164, allocations: 16.86 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.164, allocations: 0 / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1641, allocations: 38.5 kB / 483.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1641, allocations: 4 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006329/0.1647, allocations: 149.5 kB / 484 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.1648, allocations: 81.05 kB / 484.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.165, allocations: 153.8 kB / 484.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.165, allocations: 29.7 kB / 484.3 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.1651, allocations: 88.14 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.1651, allocations: 23.7 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1651, allocations: 17.72 kB / 484.4 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1653, allocations: 322.8 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.1654, allocations: 19.98 kB / 484.8 MB, free: 4 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.923e-05/0.1655, allocations: 41.77 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1656, allocations: 52.83 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1656, allocations: 0 / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002133/0.1658, allocations: 85.59 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1659, allocations: 6.188 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1659, allocations: 0 / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1659, allocations: 8.031 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.166, allocations: 11.98 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.166, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.1661, allocations: 15.83 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1661, allocations: 0 / 485 MB, free: 15.77 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 (5): * Single equations (assignments): 5 * 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.0001127/0.1662, allocations: 113.8 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.1662, allocations: 4 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.1665, allocations: 117.7 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1666, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1666, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1666, allocations: 3.938 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.1671, allocations: 358.5 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1671, allocations: 320 / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.1671, allocations: 8 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1671, allocations: 8 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1672, allocations: 11.92 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1672, allocations: 0 / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1672, allocations: 3.938 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.1674, allocations: 179.4 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.1675, allocations: 77.11 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1675, allocations: 7.938 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.1676, allocations: 8 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1677, allocations: 11.92 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.1677, allocations: 0 / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.1678, allocations: 115.2 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1678, allocations: 0 / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.1681, allocations: 36 kB / 486 MB, free: 14.62 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 (5): * Single equations (assignments): 5 * 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.001651/0.1697, allocations: 1.106 MB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.17, allocations: 55.91 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.17, allocations: 0 / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.1701, allocations: 31.91 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1705, allocations: 15.98 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1722, allocations: 1.454 MB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.1725, allocations: 0.6965 MB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.915e-05/0.1726, allocations: 24.2 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.1727, allocations: 31.41 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1727, allocations: 0 / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.1903, allocations: 3.018 MB / 492.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.1905, allocations: 238.1 kB / 492.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.169, allocations: 0 / 492.7 MB, free: 8.062 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches