Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.0008362/0.0008362, allocations: 79.7 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.0008776/0.0008776, 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.8775/0.8775, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 32.8 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.292e-05, allocations: 2.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002965/0.002988, allocations: 2.041 MB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.004539, allocations: 1.347 MB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.004659, allocations: 7.938 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.00489, allocations: 55.48 kB / 443 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.005343, allocations: 226.9 kB / 443.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.172/0.1773, allocations: 0.6226 MB / 443.9 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.1778, allocations: 366 kB / 444.2 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.178, allocations: 44.5 kB / 444.3 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.1782, allocations: 191.8 kB / 444.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1784, allocations: 191.5 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1784, allocations: 14.44 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1785, allocations: 66.58 kB / 444.7 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.1786, allocations: 156.6 kB / 444.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.1787, allocations: 98.23 kB / 445 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.179, allocations: 428.2 kB / 445.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.179, allocations: 2.938 kB / 445.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.179, allocations: 1.5 kB / 445.4 MB, free: 43.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.179, allocations: 1.844 kB / 445.4 MB, free: 43.25 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.0006115/0.1796, allocations: 0.7806 MB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1796, allocations: 7.781 kB / 446.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.1797, allocations: 45.91 kB / 446.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.1799, allocations: 101 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.1803, allocations: 446.9 kB / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1803, allocations: 6.812 kB / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1803, allocations: 10.19 kB / 446.8 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1805, allocations: 168.5 kB / 447 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1805, allocations: 2.969 kB / 447 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1805, allocations: 7.75 kB / 447 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1806, allocations: 3 kB / 447 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.1807, allocations: 116.1 kB / 447.1 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.1813, allocations: 0.6714 MB / 447.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1814, allocations: 128.4 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.222e-05/0.1815, allocations: 67.19 kB / 448 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1815, allocations: 3 kB / 448 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.1815, allocations: 43.64 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1815, allocations: 0 / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001012/0.1825, allocations: 0.7749 MB / 448.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.1826, allocations: 80.58 kB / 448.8 MB, free: 41.63 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/0.1831, allocations: 0.934 MB / 449.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1831, allocations: 31.67 kB / 449.8 MB, free: 41.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.1832, allocations: 281.9 kB / 450.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1832, allocations: 65.55 kB / 450.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.1833, allocations: 42.25 kB / 450.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.501e-05/0.1833, allocations: 316.3 kB / 450.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1834, allocations: 105.6 kB / 450.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1836, allocations: 131.7 kB / 450.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1838, allocations: 255.5 kB / 451 MB, free: 40.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1838, allocations: 3.328 kB / 451 MB, free: 40.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003465/0.1842, allocations: 348.3 kB / 451.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1842, allocations: 5.344 kB / 451.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1842, allocations: 6.938 kB / 451.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1842, allocations: 0 / 451.3 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1843, allocations: 54.81 kB / 451.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1844, allocations: 2.938 kB / 451.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.1844, allocations: 24.39 kB / 451.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.1845, allocations: 6.75 kB / 451.4 MB, free: 40.59 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 (20): * Single equations (assignments): 20 * 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.0001144/0.1846, allocations: 222.1 kB / 451.6 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.1846, allocations: 68.98 kB / 451.7 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.185, allocations: 409.4 kB / 452.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.185, allocations: 3.062 kB / 452.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.185, allocations: 6.312 kB / 452.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1851, allocations: 3.094 kB / 452.1 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.1857, allocations: 0.8927 MB / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1857, allocations: 0 / 453 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1858, allocations: 57.41 kB / 453.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1858, allocations: 0 / 453.1 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1859, allocations: 14.47 kB / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1859, allocations: 0 / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1859, allocations: 7.188 kB / 453.1 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.1862, allocations: 0.5144 MB / 453.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1863, allocations: 77.38 kB / 453.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.1863, allocations: 6.328 kB / 453.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1864, allocations: 27.7 kB / 453.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1865, allocations: 20.02 kB / 453.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1865, allocations: 9.641 kB / 453.7 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003731/0.1868, allocations: 0.6855 MB / 454.4 MB, free: 39.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1868, allocations: 0 / 454.4 MB, free: 39.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.1871, allocations: 75.83 kB / 454.5 MB, free: 39.13 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 (20): * Single equations (assignments): 20 * 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.001096/0.1882, allocations: 1.366 MB / 455.9 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.1885, allocations: 266 kB / 456.1 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1885, allocations: 0 / 456.1 MB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1887, allocations: 137 kB / 456.3 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1891, allocations: 85.81 kB / 456.3 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.1929, allocations: 5.57 MB / 461.9 MB, free: 35.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.193, allocations: 292.2 kB / 462.2 MB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.1932, allocations: 105 kB / 462.3 MB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.1933, allocations: 194.6 kB / 462.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1933, allocations: 0 / 462.5 MB, free: 35.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.2133, allocations: 11.67 MB / 474.2 MB, free: 33.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.157, allocations: 3.125 kB / 474.2 MB, free: 33.3 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.127802471630275]