Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0008725/0.0008725, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0009595/0.0009595, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8507/0.8507, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2435/0.2435, allocations: 34.25 MB / 294.9 MB, free: 0.75 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.95e-05, allocations: 2.281 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002269/0.002289, allocations: 1.643 MB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1756/0.1779, allocations: 0.5308 MB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.1779, allocations: 2.906 kB / 444.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.1783, allocations: 455.1 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1786, allocations: 300.7 kB / 445.1 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1788, allocations: 129.8 kB / 445.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.179, allocations: 168.1 kB / 445.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.1791, allocations: 17.81 kB / 445.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.1792, allocations: 121 kB / 445.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1793, allocations: 237.7 kB / 445.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1793, allocations: 2.656 kB / 445.8 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.1794, allocations: 36.09 kB / 445.8 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.1795, allocations: 87.06 kB / 445.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.1795, allocations: 43.84 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1797, allocations: 240.6 kB / 446.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1797, allocations: 0.5 kB / 446.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1797, allocations: 0.5938 kB / 446.2 MB, free: 43.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1797, allocations: 0 / 446.2 MB, free: 43.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004331/0.1801, allocations: 0.5814 MB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1802, allocations: 11.5 kB / 446.8 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.032e-05/0.1802, allocations: 37.59 kB / 446.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.1802, allocations: 48.77 kB / 446.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1804, allocations: 245.4 kB / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1804, allocations: 3.812 kB / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1804, allocations: 3.188 kB / 447.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1805, allocations: 57.48 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1805, allocations: 192 / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1805, allocations: 3.938 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1805, allocations: 0 / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.1806, allocations: 26.78 kB / 447.2 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.1809, allocations: 365.1 kB / 447.5 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.181, allocations: 41.78 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.1811, allocations: 17.88 kB / 447.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1811, allocations: 4 kB / 447.6 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.1811, allocations: 33.38 kB / 447.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1811, allocations: 0 / 447.6 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003901/0.1815, allocations: 227.8 kB / 447.9 MB, free: 41.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.1815, allocations: 58.5 kB / 447.9 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.182, allocations: 0.8741 MB / 448.8 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-06/0.182, allocations: 25.7 kB / 448.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.182, allocations: 231.6 kB / 449 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.1821, allocations: 19.17 kB / 449.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1821, allocations: 19.59 kB / 449.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.1821, allocations: 365.4 kB / 449.4 MB, free: 41.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.1822, allocations: 18.12 kB / 449.5 MB, free: 41.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.1822, allocations: 19.91 kB / 449.5 MB, free: 41.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.583e-05/0.1823, allocations: 47.98 kB / 449.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1823, allocations: 0 / 449.5 MB, free: 41.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001065/0.1824, allocations: 118.9 kB / 449.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1824, allocations: 7.344 kB / 449.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1824, allocations: 0 / 449.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1824, allocations: 0 / 449.6 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.1825, allocations: 15.17 kB / 449.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1825, allocations: 0 / 449.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.1825, allocations: 5.062 kB / 449.7 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1825, allocations: 10.88 kB / 449.7 MB, free: 41.06 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 (5): * Single equations (assignments): 5 * 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.0001001/0.1826, allocations: 213.2 kB / 449.9 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1826, allocations: 52.8 kB / 449.9 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1828, allocations: 134 kB / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1828, allocations: 0.6562 kB / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1828, allocations: 3.188 kB / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1828, allocations: 0 / 450.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.1831, allocations: 432.1 kB / 450.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1831, allocations: 2.812 kB / 450.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.1831, allocations: 16.14 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1831, allocations: 0 / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1831, allocations: 0 / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1831, allocations: 2.906 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1831, allocations: 3.938 kB / 450.5 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.1833, allocations: 220.5 kB / 450.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.1833, allocations: 40.39 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1833, allocations: 2.969 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.596e-05/0.1833, allocations: 6.406 kB / 450.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.1834, allocations: 11.88 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1834, allocations: 2.969 kB / 450.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003159/0.1837, allocations: 0.6604 MB / 451.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1837, allocations: 0 / 451.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.1839, allocations: 20.94 kB / 451.5 MB, free: 40.04 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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.0008364/0.1847, allocations: 1.076 MB / 452.5 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1848, allocations: 50.23 kB / 452.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1848, allocations: 0 / 452.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.1848, allocations: 24.2 kB / 452.6 MB, free: 39.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1851, allocations: 29.27 kB / 452.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1871, allocations: 3.249 MB / 455.9 MB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1872, allocations: 222 kB / 456.1 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.86e-05/0.1872, allocations: 14.47 kB / 456.1 MB, free: 37.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.1873, allocations: 104.1 kB / 456.2 MB, free: 37.29 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1873, allocations: 0 / 456.2 MB, free: 37.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2052, allocations: 6.731 MB / 463 MB, free: 35.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.841, allocations: 3.938 kB / 463 MB, free: 35.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.721248127520084]