Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.001281, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 71.88 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1447, allocations: 62.45 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00399/0.1487, allocations: 2.16 MB / 481.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1512, allocations: 1.38 MB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1514, allocations: 4 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1517, allocations: 39.7 kB / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.1524, allocations: 199.3 kB / 483.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.1539, allocations: 0.5863 MB / 484 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.1545, allocations: 347 kB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1548, allocations: 80.89 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.1551, allocations: 151.4 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.1555, allocations: 203.2 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.1555, allocations: 16 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.1557, allocations: 67.95 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.1559, allocations: 147.5 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.1561, allocations: 190.6 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.1566, allocations: 434.2 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1567, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1567, allocations: 0 / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.1567, allocations: 4 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001345/0.158, allocations: 0.8278 MB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/0.1581, allocations: 12.03 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.681e-05/0.1582, allocations: 50.67 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005155/0.1587, allocations: 96.14 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006765/0.1594, allocations: 0.4886 MB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.1594, allocations: 4.375 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.1595, allocations: 15.94 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.1599, allocations: 166.1 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1599, allocations: 7.938 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1599, allocations: 8 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.1599, allocations: 0 / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.1603, allocations: 115.9 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.1615, allocations: 0.7346 MB / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.1618, allocations: 133.2 kB / 488.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.162, allocations: 73.8 kB / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.1621, allocations: 0 / 488.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1621, allocations: 38.5 kB / 488.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.1621, allocations: 3.938 kB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.002301/0.1644, allocations: 0.7551 MB / 489.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1645, allocations: 89.11 kB / 489.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.1656, allocations: 0.9299 MB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1657, allocations: 25.7 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1659, allocations: 276.3 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.166, allocations: 67.02 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.737e-05/0.1661, allocations: 41.69 kB / 490.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1662, allocations: 317.9 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.1665, allocations: 111.8 kB / 490.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.1668, allocations: 128 kB / 491 MB, free: 9.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.1674, allocations: 253.6 kB / 491.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1674, allocations: 0 / 491.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007694/0.1682, allocations: 348.7 kB / 491.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1682, allocations: 8 kB / 491.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1682, allocations: 0 / 491.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1682, allocations: 0 / 491.6 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.1685, allocations: 59.88 kB / 491.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1685, allocations: 0 / 491.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.1688, allocations: 24.11 kB / 491.7 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.1688, allocations: 11.98 kB / 491.7 MB, free: 9.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.0002596/0.1691, allocations: 229.6 kB / 492 MB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1692, allocations: 63.19 kB / 492 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/0.1701, allocations: 399.3 kB / 492.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.1701, allocations: 4 kB / 492.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1701, allocations: 384 / 492.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1701, allocations: 0 / 492.4 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.1716, allocations: 0.9735 MB / 493.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1716, allocations: 4 kB / 493.4 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.1719, allocations: 55.95 kB / 493.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1719, allocations: 0 / 493.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1719, allocations: 7.984 kB / 493.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1719, allocations: 3.938 kB / 493.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1719, allocations: 0 / 493.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.1728, allocations: 0.5135 MB / 494 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.173, allocations: 152.3 kB / 494.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.173, allocations: 8 kB / 494.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.1733, allocations: 31.91 kB / 494.2 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.1734, allocations: 19.97 kB / 494.2 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1734, allocations: 4 kB / 494.2 MB, free: 6.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008756/0.1743, allocations: 0.6786 MB / 494.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1743, allocations: 0 / 494.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.1748, allocations: 67.98 kB / 494.9 MB, free: 5.801 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 (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 Backend phase and start with SimCode phase: time 0.002184/0.177, allocations: 1.357 MB / 496.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000756/0.1777, allocations: 275.6 kB / 496.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.1777, allocations: 0 / 496.5 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.1781, allocations: 147.8 kB / 496.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.1788, allocations: 85.97 kB / 496.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00836/0.1871, allocations: 5.798 MB / 0.4908 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.1877, allocations: 0.8885 MB / 0.4917 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.188, allocations: 107.2 kB / 0.4918 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.1883, allocations: 191.4 kB / 0.4919 GB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1884, allocations: 0.75 kB / 0.4919 GB, free: 12.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3078/0.4962, allocations: 10.31 MB / 0.502 GB, free: 2.746 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.4965, allocations: 236 kB / 0.5022 GB, free: 2.492 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.586, allocations: 0 / 0.5022 GB, free: 2.492 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches