Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006517/0.0006517, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8661/0.8661, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.922e-05, allocations: 6.281 kB / 442.2 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.1663/0.1663, allocations: 1.654 MB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.1671, allocations: 0.5438 MB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.1671, allocations: 0 / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1675, allocations: 458 kB / 444.9 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1678, allocations: 296.2 kB / 445.1 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.168, allocations: 137.1 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.1682, allocations: 171.9 kB / 445.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1683, allocations: 13.19 kB / 445.5 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.334e-05/0.1684, allocations: 127 kB / 445.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1686, allocations: 245.1 kB / 445.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1686, allocations: 2.906 kB / 445.8 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.1687, allocations: 50.91 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.1687, allocations: 86.89 kB / 446 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.1688, allocations: 44.06 kB / 446 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.169, allocations: 255.8 kB / 446.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.169, allocations: 3.281 kB / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.169, allocations: 0 / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.169, allocations: 0 / 446.3 MB, free: 43.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004918/0.1695, allocations: 0.5941 MB / 446.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1695, allocations: 9.031 kB / 446.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.1696, allocations: 33.5 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.1696, allocations: 48.86 kB / 446.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1698, allocations: 251.2 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1698, allocations: 3.469 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1698, allocations: 3.156 kB / 447.2 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1699, allocations: 59.92 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1699, allocations: 10.5 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1699, allocations: 7.875 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.17, allocations: 0 / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.17, allocations: 27.91 kB / 447.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1703, allocations: 367.7 kB / 447.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.886e-05/0.1704, allocations: 45.56 kB / 447.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.1704, allocations: 17.66 kB / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1705, allocations: 0 / 447.7 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.1705, allocations: 37.03 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1705, allocations: 0 / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006053/0.1711, allocations: 306.7 kB / 448 MB, free: 41.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1711, allocations: 53.69 kB / 448.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.1716, allocations: 0.8772 MB / 449 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.1716, allocations: 29.7 kB / 449 MB, free: 41.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.1717, allocations: 232.6 kB / 449.2 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1717, allocations: 28.58 kB / 449.3 MB, free: 41.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.1718, allocations: 22.09 kB / 449.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.1718, allocations: 367 kB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.1719, allocations: 25.53 kB / 449.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.1719, allocations: 24.94 kB / 449.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.78e-05/0.172, allocations: 62.06 kB / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.172, allocations: 0 / 449.8 MB, free: 40.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001441/0.1721, allocations: 135 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1722, allocations: 5.938 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1722, allocations: 0 / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1722, allocations: 3.938 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.1723, allocations: 21.92 kB / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1723, allocations: 0 / 449.9 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.1723, allocations: 20.95 kB / 449.9 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1723, allocations: 2.906 kB / 449.9 MB, free: 40.9 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.1724, allocations: 213.2 kB / 450.1 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1725, allocations: 47.7 kB / 450.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.1727, allocations: 168.7 kB / 450.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1727, allocations: 0 / 450.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1727, allocations: 0 / 450.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1727, allocations: 1.781 kB / 450.4 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1731, allocations: 478 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1731, allocations: 1.062 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.1731, allocations: 17.62 kB / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1731, allocations: 0 / 450.8 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1731, allocations: 10.91 kB / 450.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1731, allocations: 0 / 450.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1731, allocations: 0 / 450.9 MB, free: 40.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1733, allocations: 250 kB / 451.1 MB, free: 40.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.1733, allocations: 32.28 kB / 451.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1733, allocations: 13.08 kB / 451.1 MB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.1734, allocations: 8.969 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1734, allocations: 6.203 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1734, allocations: 2.781 kB / 451.2 MB, free: 40.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000335/0.1737, allocations: 0.6613 MB / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1737, allocations: 0 / 451.8 MB, free: 39.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.1739, allocations: 27.22 kB / 451.8 MB, free: 39.84 MB / 410.7 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 (8): * Single equations (assignments): 8 * 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.0009629/0.1749, allocations: 1.166 MB / 453 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.175, allocations: 62.62 kB / 453.1 MB, free: 39.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.175, allocations: 3.938 kB / 453.1 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.432e-05/0.1751, allocations: 40.47 kB / 453.1 MB, free: 39.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1754, allocations: 28.84 kB / 453.1 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1774, allocations: 3.336 MB / 456.5 MB, free: 37.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1775, allocations: 225.3 kB / 456.7 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.319e-05/0.1775, allocations: 15.78 kB / 456.7 MB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.1776, allocations: 111.3 kB / 456.8 MB, free: 37 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1776, allocations: 0 / 456.8 MB, free: 37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.1972, allocations: 7.049 MB / 463.9 MB, free: 35.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.86, allocations: 11.81 kB / 463.9 MB, free: 35.3 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.744283735752106]