Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001123, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2551/0.2551, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 59.27 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004004/0.1555, allocations: 2.018 MB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1575, allocations: 1.119 MB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1578, allocations: 4 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1581, allocations: 43.75 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004464/0.1586, allocations: 135.5 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1599, allocations: 0.549 MB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.1604, allocations: 279.1 kB / 473 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1606, allocations: 72.69 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.1608, allocations: 127.5 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1611, allocations: 187.3 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.1611, allocations: 12 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1613, allocations: 55.98 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1614, allocations: 147.5 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1616, allocations: 166.6 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.162, allocations: 378.6 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.162, allocations: 0 / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.162, allocations: 4 kB / 474.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1621, allocations: 0 / 474.1 MB, free: 9.359 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001081/0.1632, allocations: 0.7697 MB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1632, allocations: 12.03 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.1633, allocations: 38.73 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1634, allocations: 56.28 kB / 475 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007109/0.1641, allocations: 459.7 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1641, allocations: 8.375 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1642, allocations: 15.94 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1645, allocations: 146.9 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1645, allocations: 11.98 kB / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1646, allocations: 0 / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1646, allocations: 4 kB / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.1648, allocations: 103.8 kB / 475.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1659, allocations: 0.6955 MB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1661, allocations: 117.2 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1662, allocations: 49.83 kB / 476.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1663, allocations: 11.92 kB / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1663, allocations: 34.5 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1663, allocations: 0 / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001521/0.1678, allocations: 0.5332 MB / 477.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.1679, allocations: 81.05 kB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.1689, allocations: 0.8896 MB / 478.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1689, allocations: 29.7 kB / 478.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1691, allocations: 256.2 kB / 478.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.1692, allocations: 55.19 kB / 478.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.1692, allocations: 41.7 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1694, allocations: 366.7 kB / 478.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1696, allocations: 67.94 kB / 478.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1698, allocations: 84.62 kB / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.1701, allocations: 149.6 kB / 479.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1701, allocations: 4 kB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000605/0.1707, allocations: 240.9 kB / 479.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1708, allocations: 6.5 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1708, allocations: 0 / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1708, allocations: 4 kB / 479.4 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.171, allocations: 43.91 kB / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.171, allocations: 224 / 479.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1712, allocations: 15.98 kB / 479.4 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1712, allocations: 7.938 kB / 479.4 MB, free: 3.73 MB / 350.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 (16): * Single equations (assignments): 16 * 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.0002215/0.1714, allocations: 217.7 kB / 479.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1715, allocations: 55.25 kB / 479.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006197/0.1722, allocations: 295.2 kB / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1722, allocations: 0 / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1722, allocations: 7.984 kB / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1722, allocations: 0 / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.1735, allocations: 0.8097 MB / 480.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1735, allocations: 0 / 480.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.1737, allocations: 35.97 kB / 480.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1737, allocations: 0 / 480.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1737, allocations: 4 kB / 480.9 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.1737, allocations: 7.938 kB / 480.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.1737, allocations: 3.984 kB / 480.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.1744, allocations: 414 kB / 481.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.1746, allocations: 152.4 kB / 481.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.1747, allocations: 3.938 kB / 481.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.1749, allocations: 23.92 kB / 481.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.175, allocations: 11.98 kB / 481.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.175, allocations: 7.984 kB / 481.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009104/0.1759, allocations: 0.6472 MB / 482.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1759, allocations: 0 / 482.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004341/0.1764, allocations: 55.98 kB / 482.2 MB, free: 0.8984 MB / 350.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 (16): * Single equations (assignments): 16 * 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.002145/0.1785, allocations: 1.246 MB / 483.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.179, allocations: 171.9 kB / 483.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.179, allocations: 0 / 483.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.1793, allocations: 100.1 kB / 483.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.1799, allocations: 70.33 kB / 483.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/0.1873, allocations: 5.32 MB / 489.1 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.1879, allocations: 0.8653 MB / 489.9 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002322/0.1882, allocations: 87.38 kB / 490 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.1885, allocations: 167.4 kB / 490.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.1885, allocations: 0 / 490.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.2116, allocations: 9.448 MB / 499.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.2119, allocations: 239.4 kB / 499.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.155, allocations: 0 / 499.9 MB, free: 15.31 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches