Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001258/0.001259, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001123/0.001123, allocations: 194 kB / 18.12 MB, free: 5.383 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.434/1.434, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2172/0.2172, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.3 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1504, allocations: 60.82 MB / 468.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004733/0.1552, allocations: 2.014 MB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1572, allocations: 0.9435 MB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.1575, allocations: 7.938 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.1582, allocations: 251.4 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.1589, allocations: 171.5 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1606, allocations: 0.6128 MB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000626/0.1612, allocations: 295.2 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.1615, allocations: 84.53 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.1618, allocations: 111.5 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.1621, allocations: 203.2 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.1622, allocations: 12 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.1624, allocations: 59.98 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.1625, allocations: 95.59 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1627, allocations: 123 kB / 473.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.1632, allocations: 306.9 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1632, allocations: 0 / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1632, allocations: 0 / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1632, allocations: 0 / 473.9 MB, free: 9.508 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001055/0.1643, allocations: 0.6496 MB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1643, allocations: 12.03 kB / 474.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.428e-05/0.1644, allocations: 46.73 kB / 474.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1645, allocations: 48.31 kB / 474.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.165, allocations: 326.2 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1651, allocations: 8.375 kB / 475 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.1651, allocations: 20.27 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.1654, allocations: 121.6 kB / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1655, allocations: 0 / 475.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1655, allocations: 4 kB / 475.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1655, allocations: 3.938 kB / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/0.1657, allocations: 103.9 kB / 475.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.1667, allocations: 0.5042 MB / 475.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.167, allocations: 102.5 kB / 475.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.1671, allocations: 52.77 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1671, allocations: 4 kB / 475.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1672, allocations: 34.5 kB / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.1672, allocations: 0 / 475.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001248/0.1684, allocations: 440 kB / 476.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1685, allocations: 59.41 kB / 476.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.1692, allocations: 0.5486 MB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1692, allocations: 29.7 kB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1694, allocations: 204.4 kB / 477.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.1694, allocations: 63.09 kB / 477.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.534e-05/0.1695, allocations: 37.7 kB / 477.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1697, allocations: 350.8 kB / 477.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1698, allocations: 67.95 kB / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.17, allocations: 66.16 kB / 477.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1703, allocations: 160.7 kB / 477.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1703, allocations: 0 / 477.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004073/0.1707, allocations: 226.9 kB / 478.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1707, allocations: 7.984 kB / 478.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1707, allocations: 3.938 kB / 478.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1708, allocations: 4 kB / 478.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1709, allocations: 31.98 kB / 478.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1709, allocations: 3.938 kB / 478.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1711, allocations: 19.89 kB / 478.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1711, allocations: 4 kB / 478.2 MB, free: 4.961 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001983/0.1713, allocations: 185.7 kB / 478.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.1714, allocations: 35.53 kB / 478.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005498/0.1719, allocations: 283.6 kB / 478.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1719, allocations: 7.984 kB / 478.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.172, allocations: 0 / 478.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.172, allocations: 3.984 kB / 478.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.1729, allocations: 0.6738 MB / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.173, allocations: 0 / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1731, allocations: 35.98 kB / 479.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1731, allocations: 0 / 479.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1731, allocations: 7.984 kB / 479.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1731, allocations: 3.938 kB / 479.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1731, allocations: 4 kB / 479.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004606/0.1736, allocations: 336.9 kB / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.632e-05/0.1737, allocations: 112.6 kB / 479.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1737, allocations: 7.984 kB / 479.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1738, allocations: 7.938 kB / 479.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.1739, allocations: 15.98 kB / 479.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1739, allocations: 4 kB / 479.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.1744, allocations: 419.1 kB / 480.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1744, allocations: 0 / 480.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003343/0.1747, allocations: 51.98 kB / 480.4 MB, free: 2.691 MB / 350.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 (17): * Single equations (assignments): 17 * 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.002498/0.1772, allocations: 1.447 MB / 481.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.1776, allocations: 171.8 kB / 482 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1776, allocations: 0 / 482 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1778, allocations: 91.88 kB / 482.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.1784, allocations: 74.86 kB / 482.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.1827, allocations: 3.319 MB / 485.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.1831, allocations: 0.8106 MB / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1833, allocations: 66.22 kB / 486.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.1835, allocations: 123.4 kB / 486.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1835, allocations: 0 / 486.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.206, allocations: 7.14 MB / 493.6 MB, free: 5.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.2064, allocations: 233.2 kB / 493.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/2.237, allocations: 3.938 kB / 493.8 MB, free: 5.496 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches