Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.001094/0.001094, allocations: 105.2 kB / 17.32 MB, free: 6.008 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.001081/0.001081, allocations: 193.3 kB / 18.25 MB, free: 5.098 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.492/1.492, allocations: 222.9 MB / 241.9 MB, free: 13.78 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.2401/0.2401, allocations: 44.18 MB / 336.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 68.81 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1511, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.00508/0.1563, allocations: 2.018 MB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.158, allocations: 0.8418 MB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.1581, allocations: 0 / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.1586, allocations: 247.4 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.159, allocations: 171.5 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.1599, allocations: 452.6 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.1603, allocations: 287.2 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1605, allocations: 64.84 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.1607, allocations: 131.5 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.161, allocations: 203.3 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.1611, allocations: 8 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.1614, allocations: 99.95 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.1615, allocations: 95.61 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.1617, allocations: 111.1 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.1621, allocations: 322.8 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1621, allocations: 0 / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1621, allocations: 4 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1622, allocations: 0 / 473.8 MB, free: 9.594 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.001019/0.1632, allocations: 0.6496 MB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1632, allocations: 8.031 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.1633, allocations: 46.73 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.1634, allocations: 44.38 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1637, allocations: 306.2 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1637, allocations: 12.38 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1637, allocations: 8.375 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.164, allocations: 117.5 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.164, allocations: 3.906 kB / 475 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1641, allocations: 4 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1641, allocations: 7.984 kB / 475 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1642, allocations: 71.83 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.1649, allocations: 0.4886 MB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1652, allocations: 86.55 kB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.1652, allocations: 40.83 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/0.1653, allocations: 3.938 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.1653, allocations: 34.5 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1653, allocations: 4 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001049/0.1664, allocations: 384 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1664, allocations: 51.41 kB / 476.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.1671, allocations: 0.5409 MB / 476.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1671, allocations: 25.7 kB / 476.7 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1673, allocations: 212.3 kB / 477 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.1674, allocations: 63.19 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/0.1675, allocations: 25.72 kB / 477 MB, free: 6.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1677, allocations: 350.8 kB / 477.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1678, allocations: 51.97 kB / 477.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1679, allocations: 54.62 kB / 477.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.1681, allocations: 128.6 kB / 477.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1682, allocations: 4 kB / 477.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003609/0.1685, allocations: 197.1 kB / 477.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1686, allocations: 6.031 kB / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1686, allocations: 0 / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1686, allocations: 0 / 477.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1688, allocations: 31.98 kB / 477.8 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1688, allocations: 3.984 kB / 477.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.1689, allocations: 15.94 kB / 477.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1689, allocations: 7.938 kB / 477.9 MB, free: 5.32 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.0001781/0.1691, allocations: 177.7 kB / 478 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.1692, allocations: 39.53 kB / 478.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.1697, allocations: 225.5 kB / 478.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1697, allocations: 4 kB / 478.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1697, allocations: 3.938 kB / 478.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1697, allocations: 4 kB / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.1706, allocations: 0.6286 MB / 478.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1706, allocations: 7.938 kB / 479 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1707, allocations: 31.97 kB / 479 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1707, allocations: 0 / 479 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1707, allocations: 8 kB / 479 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1707, allocations: 7.938 kB / 479 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1708, allocations: 0 / 479 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004512/0.1712, allocations: 298.9 kB / 479.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.1713, allocations: 112.7 kB / 479.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.1714, allocations: 4 kB / 479.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1715, allocations: 11.94 kB / 479.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.1715, allocations: 15.98 kB / 479.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1716, allocations: 4 kB / 479.4 MB, free: 3.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004154/0.172, allocations: 415.1 kB / 479.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.172, allocations: 0 / 479.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1723, allocations: 43.91 kB / 479.9 MB, free: 3.199 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.002352/0.1747, allocations: 1.425 MB / 481.3 MB, free: 2.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.175, allocations: 139.9 kB / 481.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.175, allocations: 0 / 481.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1752, allocations: 75.89 kB / 481.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.1758, allocations: 83.28 kB / 481.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.18, allocations: 3.142 MB / 484.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.1805, allocations: 0.8065 MB / 485.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.1806, allocations: 45.91 kB / 485.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.1808, allocations: 127.4 kB / 485.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1808, allocations: 0 / 485.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.2007, allocations: 6.995 MB / 492.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.2009, allocations: 232.9 kB / 492.9 MB, free: 6.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.07, allocations: 0 / 492.9 MB, free: 6.414 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches