Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0008516/0.0008516, 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.001079/0.001079, 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.9069/0.9069, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2382/0.2382, allocations: 34.26 MB / 294.9 MB, free: 0.7148 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.788e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.1679/0.1679, allocations: 1.965 MB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1694, allocations: 1.314 MB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.665e-05/0.1695, allocations: 2.906 kB / 445.5 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1697, allocations: 58.12 kB / 445.5 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1701, allocations: 219.8 kB / 445.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.1707, allocations: 0.6013 MB / 446.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.171, allocations: 329.7 kB / 446.7 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1711, allocations: 48.62 kB / 446.7 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1713, allocations: 174.1 kB / 446.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1715, allocations: 170.8 kB / 447 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.1715, allocations: 11.66 kB / 447.1 MB, free: 42.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.1716, allocations: 74.5 kB / 447.1 MB, free: 42.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.1717, allocations: 160.2 kB / 447.3 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.1718, allocations: 87.41 kB / 447.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.172, allocations: 404.8 kB / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.172, allocations: 0 / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.172, allocations: 0 / 447.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1721, allocations: 0 / 447.8 MB, free: 42.17 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000634/0.1727, allocations: 0.7592 MB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1727, allocations: 14.84 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.1728, allocations: 37.56 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.1729, allocations: 79.89 kB / 448.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.1734, allocations: 428.9 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1734, allocations: 10.09 kB / 449.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1734, allocations: 10.06 kB / 449.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1736, allocations: 153.2 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1736, allocations: 4 kB / 449.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1736, allocations: 7.281 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1736, allocations: 3 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.1737, allocations: 90.11 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.1743, allocations: 0.6525 MB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1744, allocations: 111.3 kB / 450.1 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.1745, allocations: 44.59 kB / 450.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1745, allocations: 7.094 kB / 450.2 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1745, allocations: 41.69 kB / 450.2 MB, free: 40.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1745, allocations: 0 / 450.2 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008259/0.1753, allocations: 0.5694 MB / 450.8 MB, free: 40.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.1754, allocations: 83.67 kB / 450.9 MB, free: 40.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.1759, allocations: 0.9363 MB / 451.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.1759, allocations: 29.7 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.176, allocations: 271.3 kB / 452.1 MB, free: 39.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1761, allocations: 48.48 kB / 452.1 MB, free: 39.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1761, allocations: 39.38 kB / 452.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.1761, allocations: 308.7 kB / 452.5 MB, free: 39.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.1762, allocations: 65.09 kB / 452.5 MB, free: 39.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.1763, allocations: 86.06 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1765, allocations: 157 kB / 452.8 MB, free: 39.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1765, allocations: 0 / 452.8 MB, free: 39.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002789/0.1768, allocations: 248.5 kB / 453 MB, free: 39.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1768, allocations: 5.719 kB / 453 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1768, allocations: 3.375 kB / 453 MB, free: 39.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1768, allocations: 4 kB / 453 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1769, allocations: 39.17 kB / 453.1 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1769, allocations: 0 / 453.1 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.177, allocations: 18.2 kB / 453.1 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.177, allocations: 9.375 kB / 453.1 MB, free: 39 MB / 410.7 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.0001246/0.1772, allocations: 211.2 kB / 453.3 MB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1772, allocations: 68.08 kB / 453.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.1775, allocations: 298.8 kB / 453.7 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1775, allocations: 2.781 kB / 453.7 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1775, allocations: 0 / 453.7 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1776, allocations: 3.375 kB / 453.7 MB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.1782, allocations: 0.7629 MB / 454.4 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1782, allocations: 0 / 454.4 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.1783, allocations: 38.53 kB / 454.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1783, allocations: 6.094 kB / 454.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1783, allocations: 4.875 kB / 454.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1783, allocations: 0 / 454.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1783, allocations: 3.031 kB / 454.5 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1786, allocations: 434.1 kB / 454.9 MB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.1786, allocations: 76.42 kB / 455 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1786, allocations: 10.38 kB / 455 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.241e-05/0.1787, allocations: 11.61 kB / 455 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1788, allocations: 20.08 kB / 455 MB, free: 37.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1788, allocations: 5.312 kB / 455 MB, free: 37.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004108/0.1792, allocations: 0.6792 MB / 455.7 MB, free: 37.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1792, allocations: 0 / 455.7 MB, free: 37.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.1794, allocations: 56.81 kB / 455.8 MB, free: 37.63 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 (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.001029/0.1805, allocations: 1.29 MB / 457 MB, free: 36.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1807, allocations: 163 kB / 457.2 MB, free: 36.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1807, allocations: 0 / 457.2 MB, free: 36.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.1808, allocations: 86.83 kB / 457.3 MB, free: 36.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1812, allocations: 89.97 kB / 457.4 MB, free: 36.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.1851, allocations: 5.248 MB / 462.6 MB, free: 34.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.1853, allocations: 274.9 kB / 462.9 MB, free: 34.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000157/0.1855, allocations: 100.3 kB / 463 MB, free: 34.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.1856, allocations: 178.5 kB / 463.2 MB, free: 34.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.053e-06/0.1856, allocations: 0 / 463.2 MB, free: 34.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.2089, allocations: 11.06 MB / 474.2 MB, free: 31.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.037, allocations: 3.281 kB / 474.2 MB, free: 31.95 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 9.086364551447332]